1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

add '_PUBLIC_' prototypes into proto.h

this makes merging samba4 code easier...

metze
(This used to be commit 005909726e0121a549abf625a3b443f3a6964d84)
This commit is contained in:
Stefan Metzmacher 2007-11-08 14:34:02 +01:00
parent 380840d588
commit 7404475a71

View File

@ -113,7 +113,7 @@ END {
printf "int %s(void);\n", a[2]
}
/^static|^extern/ || !/^[a-zA-Z]/ || /[;]/ {
/^static|^extern/ || !/^[a-zA-Z\_]/ || /[;]/ {
next;
}
@ -151,7 +151,7 @@ END {
gotstart = 1;
}
if( $0 ~ /^NODE_STATUS_STRUCT|SMB_STRUCT_DIR|ELOG_TDB|codepoint_t/ ) {
if( $0 ~ /^NODE_STATUS_STRUCT|^SMB_STRUCT_DIR|^ELOG_TDB|^codepoint_t|^_PUBLIC_/ ) {
gotstart = 1;
}