From ba564a901e519b0f2cf2b7651bd260f618506b5c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 6 Mar 2006 23:28:18 +0000 Subject: r13903: Don't generate prototypes for modules and binaries in include/proto.h by default. (This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4) --- source4/build/smb_build/input.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source4/build') diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index 0499d62565..8796441a22 100644 --- a/source4/build/smb_build/input.pm +++ b/source4/build/smb_build/input.pm @@ -148,7 +148,11 @@ sub check($$$$$) foreach my $part (values %$INPUT) { unless(defined($part->{NOPROTO})) { - $part->{NOPROTO} = "NO"; + if ($part->{TYPE} eq "MODULE" or $part->{TYPE} eq "BINARY") { + $part->{NOPROTO} = "YES"; + } else { + $part->{NOPROTO} = "NO"; + } } if (defined($part->{PRIVATE_PROTO_HEADER})) { -- cgit