From 7404475a7125b7e953eadd5bb9967e088c5f9c34 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 8 Nov 2007 14:34:02 +0100 Subject: add '_PUBLIC_' prototypes into proto.h this makes merging samba4 code easier... metze (This used to be commit 005909726e0121a549abf625a3b443f3a6964d84) --- source3/script/mkproto.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/script') 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; } -- cgit