diff options
author | David Michael <fedora.dm0@gmail.com> | 2015-05-10 22:30:04 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-06-05 21:01:40 +0530 |
commit | 23e8415d63e0b1b7641a6aff3646536b7395eb91 (patch) | |
tree | db9200a22506d5a46704c599166a4289c3b1b34a /header.c | |
parent | b165f41edfab4deaf36c2ccc44280e49463e7999 (diff) | |
download | mig-23e8415d63e0b1b7641a6aff3646536b7395eb91.tar.gz mig-23e8415d63e0b1b7641a6aff3646536b7395eb91.tar.bz2 mig-23e8415d63e0b1b7641a6aff3646536b7395eb91.zip |
Change x_server_routine functions to "static inline" for -std=gnu11
* header.c (WriteServerHeader): Replace "extern" with "static".
* server.c (WriteEpilog): Remove WriteSubsystemServerRoutine call.
Diffstat (limited to 'header.c')
-rw-r--r-- | header.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -178,7 +178,7 @@ WriteServerHeader(FILE *file, const statement_t *stats) * Include the x_server_routine function so it can be inlined. */ fprintf(file, "extern mig_routine_t %s_routines[];\n", ServerDemux); - WriteSubsystemServerRoutine(file, "extern inline"); + WriteSubsystemServerRoutine(file, "static inline"); WriteEpilog(file, protect); } |