1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 15:31:47 +02:00

Unexpose config headers (low hanging fruit only)

- Some headers were completely redundant and have been removed.
- Other headers have been turned private.
- Unnecessary meson.build code has been removed.
- libutil-tests now has a private config header, where previously
  it had none. This removes the need to expose a package version
  macro publicly.

(cherry picked from commit b86a76044e)
This commit is contained in:
Robert Hensing 2025-03-28 14:14:45 +00:00 committed by Mergify
parent a8749a412f
commit 569631b1d5
15 changed files with 25 additions and 82 deletions

View file

@ -45,8 +45,6 @@ add_project_arguments(
# It would be nice for our headers to be idempotent instead.
'-include', 'config-util.hh',
'-include', 'config-store.hh',
'-include', 'config-util.h',
'-include', 'config-store.h',
language : 'cpp',
)