git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfbdb13
)
add '_PUBLIC_' prototypes into proto.h
author
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Nov 2007 13:34:02 +0000
(14:34 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Nov 2007 13:34:02 +0000
(14:34 +0100)
this makes merging samba4 code easier...
metze
source/script/mkproto.awk
patch
|
blob
|
history
diff --git
a/source/script/mkproto.awk
b/source/script/mkproto.awk
index a707378251143952a035937ca96fb929d2108799..ff266321ff1f339e613ab240148fc476e6b4e2f5 100644
(file)
--- a/
source/script/mkproto.awk
+++ b/
source/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;
}