summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 00:46:57 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 00:46:57 +0100
commite2cc69375e484de5e5aa8b354aca6b95af8c8764 (patch)
tree79287bb0cde8a1adc953c1bdb50fb868bc7a6875
parent74172cdd9a4b056d27ce2524e0aa0f3fcb2b0770 (diff)
Fix c89 compilation of mig headers
* header.c (WriteServerHeader): Print __inline instead of inline.
-rw-r--r--header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/header.c b/header.c
index 3af9746..8190376 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, "static inline");
+ WriteSubsystemServerRoutine(file, "static __inline");
WriteEpilog(file, protect);
}