1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

r14479: Cope with _PUBLIC_ not being defined. Needed for when external projects

include this header.
(This used to be commit 9bfc3c2537eb7183ba722c8c83248521c2126109)
This commit is contained in:
Jelmer Vernooij 2006-03-16 14:34:55 +00:00 committed by Gerald (Jerry) Carter
parent 86314203e6
commit 43c7536883

View File

@ -183,7 +183,11 @@ if ($public_file ne $private_file) {
print $public_fd "/* this file contains prototypes for functions that " .
"are part of \n * the public API of this subsystem or library. */\n\n";
}
print $public_fd "#ifndef _PUBLIC_\n#define _PUBLIC_\n#endif\n\n";
process_file($public_fd, $private_fd, $_) foreach (@ARGV);
print_footer($public_fd, $public_define);
if ($public_file ne $private_file) {