Author: tridge
Date: 2004-09-24 05:51:29 +0000 (Fri, 24 Sep 2004)
New Revision: 2583

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/script&rev=2583&nolog=1

Log:
mkproto.pl now treats "int main" as a special case and avoids it.

Modified:
   branches/SAMBA_4_0/source/script/mkproto.pl


Changeset:
Modified: branches/SAMBA_4_0/source/script/mkproto.pl
===================================================================
--- branches/SAMBA_4_0/source/script/mkproto.pl 2004-09-24 04:49:45 UTC (rev 2582)
+++ branches/SAMBA_4_0/source/script/mkproto.pl 2004-09-24 05:51:29 UTC (rev 2583)
@@ -73,6 +73,8 @@
                              ^GtkWidget|^GType|^smb_ucs2_t
                              /xo);
 
+               next if ($line =~ /^int\s*main/);
+
                if ($line =~ /^FN_/) {
                        handle_loadparm($line);
                        next;

Reply via email to