1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-05 08:11: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.
This commit is contained in:
Robert Hensing 2025-03-28 14:14:45 +00:00
parent 83ec81789a
commit b86a76044e
15 changed files with 25 additions and 82 deletions

View file

@ -33,12 +33,14 @@ check_funcs = [
'pipe2',
# Optionally used to preallocate files to be large enough before
# writing to them.
# WARNING: define also used in libstore
'posix_fallocate',
# Optionally used to get more information about processes failing due
# to a signal on Unix.
'strsignal',
# Optionally used to try to close more file descriptors (e.g. before
# forking) on Unix.
# WARNING: also used in libexpr
'sysconf',
# Optionally used for changing the mtime of files and symlinks.
'utimensat',