mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
compile fix, no static on securefunc typedef
This commit is contained in:
parent
24969cd0ef
commit
9e84f8d01f
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue