summaryrefslogtreecommitdiff
path: root/gcc/c-gperf.h
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-01-06 01:48:08 -0800
committerYamaArashi <shadow962@live.com>2016-01-06 01:48:08 -0800
commit476b5c86e5bc21311dfb14d0f043fbf5b870781d (patch)
treec3ed060120f9ed49780bb1c1323d42e47e9f7df7 /gcc/c-gperf.h
parentbe8b04496302184c6e8f04d6179f9c3afc50aeb6 (diff)
get it to compile
Diffstat (limited to 'gcc/c-gperf.h')
-rwxr-xr-xgcc/c-gperf.h12
1 files changed, 4 insertions, 8 deletions
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;