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:
parent
86314203e6
commit
43c7536883
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user