summaryrefslogtreecommitdiff
path: root/source3/script/mkproto.awk
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-08 14:34:02 +0100
committerStefan Metzmacher <metze@samba.org>2007-11-08 14:34:02 +0100
commit7404475a7125b7e953eadd5bb9967e088c5f9c34 (patch)
tree0ba71b71a5ca7bff6d4560b5262b4be374f88826 /source3/script/mkproto.awk
parent380840d588fa38a7e5a4a8aa39a0f3a35eb6a5d6 (diff)
downloadsamba-7404475a7125b7e953eadd5bb9967e088c5f9c34.tar.gz
samba-7404475a7125b7e953eadd5bb9967e088c5f9c34.tar.bz2
samba-7404475a7125b7e953eadd5bb9967e088c5f9c34.zip
add '_PUBLIC_' prototypes into proto.h
this makes merging samba4 code easier... metze (This used to be commit 005909726e0121a549abf625a3b443f3a6964d84)
Diffstat (limited to 'source3/script/mkproto.awk')
-rw-r--r--source3/script/mkproto.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk
index a707378251..ff266321ff 100644
--- a/source3/script/mkproto.awk
+++ b/source3/script/mkproto.awk
@@ -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;
}