summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-24 05:51:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:07 -0500
commit78d9f3f8a7542097f061356f0e0d8d1c134ae983 (patch)
tree1610c5a0db179008c5a3157177c327bed9457a41
parent00e05a0b8ba4c6b16a53d20fa5a8eef8fbd6263a (diff)
downloadsamba-78d9f3f8a7542097f061356f0e0d8d1c134ae983.tar.gz
samba-78d9f3f8a7542097f061356f0e0d8d1c134ae983.tar.bz2
samba-78d9f3f8a7542097f061356f0e0d8d1c134ae983.zip
r2583: mkproto.pl now treats "int main" as a special case and avoids it.
(This used to be commit 01288e82bc39af66d5e47db19691c741555e999a)
-rw-r--r--source4/script/mkproto.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/script/mkproto.pl b/source4/script/mkproto.pl
index d30d5707a9..227c7c0dce 100644
--- a/source4/script/mkproto.pl
+++ b/source4/script/mkproto.pl
@@ -73,6 +73,8 @@ sub process_file($)
^GtkWidget|^GType|^smb_ucs2_t
/xo);
+ next if ($line =~ /^int\s*main/);
+
if ($line =~ /^FN_/) {
handle_loadparm($line);
next;