summaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-12-01 17:02:28 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2013-12-16 12:07:03 +0100
commit5e3ef5153fe6aa2190ffa185009fa45e3549469d (patch)
treed009aabe571cc66de3dc6127e384e1a7923a8a6b /server.c
parentb39ae10e7d9c9db61822fe48585dbc2fdbbcc5d2 (diff)
Generate a x_server_routine in the sheader so it can be inlined
* header.c (WriteServerHeader): Emit a x_server_routine that can be inlined. * server.c (WriteEpilog): Export the x_routines array so it can be used from the inlined x_server_routine.
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 6a35607..129cec3 100644
--- a/server.c
+++ b/server.c
@@ -161,7 +161,7 @@ WriteEpilog(FILE *file, const statement_t *stats)
/*
* First, the symbol table
*/
- fprintf(file, "static mig_routine_t %s_routines[] = {\n", ServerDemux);
+ fprintf(file, "mig_routine_t %s_routines[] = {\n", ServerDemux);
WriteArrayEntries(file, stats);