diff options
author | Colin Watson <cjwatson@debian.org> | 2022-01-16 18:42:23 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2022-01-16 18:42:23 +0000 |
commit | 507b0326798a23ba944d63613c160c0ddb36078e (patch) | |
tree | 53edc3565a59483a40fa7635b0568eb10841ecbf /libdb/db_xdbm.c | |
parent | 83df40649a556a9113b1633ef50ded73463a558d (diff) |
Move some more declarations out of manconfig.h
Header includes should be in the same translation unit as the code that
uses them rather than being ambient across the whole project.
* include/manconfig.h: Remove obsolete header comment about program
paths.
* include/manconfig.h: Remove includes of "xvasprintf.h", <stddef.h>,
"xalloc.h", and "xstrndup.h", as well as "struct pipeline" declaration.
Update all files that relied on these to include/declare them directly
instead as needed.
* include/manconfig.h (MAN_DB, mkdbname): Move to ...
* libdb/mydbm.h: ... here.
Diffstat (limited to 'libdb/db_xdbm.c')
-rw-r--r-- | libdb/db_xdbm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdb/db_xdbm.c b/libdb/db_xdbm.c index f0a9932e..95a7ffc8 100644 --- a/libdb/db_xdbm.c +++ b/libdb/db_xdbm.c @@ -33,6 +33,7 @@ #include "gl_xlist.h" #include "gl_xmap.h" #include "hash-pjw-bare.h" +#include "xalloc.h" #include "manconfig.h" |