Commit ace6df97 authored by Etienne Renault's avatar Etienne Renault

declare static functions as inline to avoid gcc complaints

*  src/emit.c: here.
parent 8c499c9c
......@@ -85,7 +85,7 @@ void emit_header ()
"\n");
output ("#ifndef g_new\n"
"static void *\n"
"inline static void *\n"
"mono_burg_xmalloc_ (size_t size)\n"
"{\n"
" void *p;\n"
......@@ -102,7 +102,7 @@ void emit_header ()
"\n");
output ("#ifndef g_error\n"
"static int\n"
"inline static int\n"
"mono_burg_error_ (const char *format, ...)\n"
"{\n"
" int n = 0;\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment