summaryrefslogtreecommitdiff
path: root/lib/tevent/script
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-11 14:54:02 +0200
committerMichael Adam <obnox@samba.org>2009-09-11 15:31:26 +0200
commit095a11226ea1b23609e62ad803ff6b65cb113405 (patch)
treefc1e19516f2785c7b52fa8600ebeadbc6b592ff8 /lib/tevent/script
parent4fb82727b1258f89aadbf8d320d9aea6ba74d92c (diff)
downloadsamba-095a11226ea1b23609e62ad803ff6b65cb113405.tar.gz
samba-095a11226ea1b23609e62ad803ff6b65cb113405.tar.bz2
samba-095a11226ea1b23609e62ad803ff6b65cb113405.zip
tevent:mksyms: allow double pointer return value of functions.
Michael
Diffstat (limited to 'lib/tevent/script')
-rw-r--r--lib/tevent/script/mksyms.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/script/mksyms.awk b/lib/tevent/script/mksyms.awk
index a30bea4d34..0d80d9f70b 100644
--- a/lib/tevent/script/mksyms.awk
+++ b/lib/tevent/script/mksyms.awk
@@ -60,7 +60,7 @@ END {
/[_A-Za-z0-9]+[ \t]*[(].*[)][ \t]*;[ \t]*$/ {
sub(/[(].*$/, "");
gsub(/[^ \t]+[ \t]+/, "");
- gsub(/^[*]/, "");
+ gsub(/^[*]+/, "");
printf "\t\t%s;\n",$0;
next;
}