From 78d9f3f8a7542097f061356f0e0d8d1c134ae983 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 24 Sep 2004 05:51:29 +0000 Subject: r2583: mkproto.pl now treats "int main" as a special case and avoids it. (This used to be commit 01288e82bc39af66d5e47db19691c741555e999a) --- source4/script/mkproto.pl | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit