summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-02 00:01:04 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-02 00:01:04 +0200
commit7b608fd288dca3aa2237dbe73a5e14d0bcd0d42b (patch)
treed3917d33c3dc9da1231fce70c74e56faeb2cf883
parentbebb7b890c754b05cbb5f4cf83da5b10478ff368 (diff)
downloadsamba-7b608fd288dca3aa2237dbe73a5e14d0bcd0d42b.tar.gz
samba-7b608fd288dca3aa2237dbe73a5e14d0bcd0d42b.tar.bz2
samba-7b608fd288dca3aa2237dbe73a5e14d0bcd0d42b.zip
Don't write public functions to protoheaders.
Since the public functions can be used by external parties we should make changing their signature as hard as possible. It's also a lot easier to document functions in manually written headers. (This used to be commit 0528e30cf7c8a18c757e8cd9ddd6bea235ae4f1f)
-rw-r--r--source4/build/smb_build/makefile.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 03198fd944..fb3ac561fa 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -336,7 +336,7 @@ sub ProtoHeader($$)
$self->output("$priv: $ctx->{MK_FILE} \$($ctx->{NAME}_OBJ_LIST:.o=.c) \$(srcdir)/script/mkproto.pl\n");
$self->output("\t\@echo \"Creating \$@\"\n");
$self->output("\t\@mkdir -p \$(\@D)\n");
- $self->output("\t\@\$(PERL) \$(srcdir)/script/mkproto.pl --srcdir=\$(srcdir) --builddir=\$(builddir) --all=\$@ \$($ctx->{NAME}_OBJ_LIST)\n\n");
+ $self->output("\t\@\$(PERL) \$(srcdir)/script/mkproto.pl --srcdir=\$(srcdir) --builddir=\$(builddir) --public=/dev/null --private=\$@ \$($ctx->{NAME}_OBJ_LIST)\n\n");
}
sub write($$)