git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00e05a0
)
r2583: mkproto.pl now treats "int main" as a special case and avoids it.
author
Andrew Tridgell
<tridge@samba.org>
Fri, 24 Sep 2004 05:51:29 +0000
(
05:51
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:59:07 +0000
(12:59 -0500)
(This used to be commit
01288e82bc39af66d5e47db19691c741555e999a
)
source4/script/mkproto.pl
patch
|
blob
|
history
diff --git
a/source4/script/mkproto.pl
b/source4/script/mkproto.pl
index d30d5707a97e9dd62b86766e15c5a02a49056f5c..227c7c0dce3fead04b4f5b6293a8ee5c47b6415c 100644
(file)
--- 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;