From 476b5c86e5bc21311dfb14d0f043fbf5b870781d Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Wed, 6 Jan 2016 01:48:08 -0800 Subject: get it to compile --- gcc/c-gperf.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'gcc/c-gperf.h') diff --git a/gcc/c-gperf.h b/gcc/c-gperf.h index 7ee5060..4d374b4 100755 --- a/gcc/c-gperf.h +++ b/gcc/c-gperf.h @@ -10,10 +10,8 @@ struct resword { char *name; short token; enum rid rid; }; #define MAX_HASH_VALUE 141 /* maximum key range = 134, duplicates = 0 */ -#ifdef __GNUC__ -__inline -#endif -static unsigned int + +static inline unsigned int hash (str, len) register char *str; register unsigned int len; @@ -172,10 +170,8 @@ static struct resword wordlist[] = {"char", TYPESPEC, RID_CHAR} }; -#ifdef __GNUC__ -__inline -#endif -struct resword * + +static inline struct resword * is_reserved_word (str, len) register char *str; register unsigned int len; -- cgit v1.2.3