mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
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 0528e30cf7
)
This commit is contained in:
@ -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($$)
|
||||
|
Reference in New Issue
Block a user