aboutsummaryrefslogtreecommitdiff
path: root/header.c
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2015-05-10 22:30:04 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-06-05 21:01:40 +0530
commit23e8415d63e0b1b7641a6aff3646536b7395eb91 (patch)
treedb9200a22506d5a46704c599166a4289c3b1b34a /header.c
parentb165f41edfab4deaf36c2ccc44280e49463e7999 (diff)
downloadmig-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/header.c b/header.c
index 23e5686..3af9746 100644
--- a/header.c
+++ b/header.c
@@ -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);
}