From 9e84f8d01f87efe5cc79d46d56e26325a09449c0 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 13 Mar 2008 00:02:12 +0000 Subject: [PATCH] compile fix, no static on securefunc typedef --- scripts/netobj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/netobj.py b/scripts/netobj.py index 1a2de7276..0245a5c88 100644 --- a/scripts/netobj.py +++ b/scripts/netobj.py @@ -239,7 +239,7 @@ def emit_source_file(f, p, protofilename): print >>f, "" if 1: # secure function table - print >>f, "typedef static int(*SECUREFUNC)(void *data, int size);" + print >>f, "typedef int(*SECUREFUNC)(void *data, int size);" print >>f, "static SECUREFUNC secure_funcs[] = {" print >>f, "\t" + 'secure_object_invalid,' for obj in p.objects: