From 58b7f4a096dccdefd8c5302aac267a1b2806f167 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 22 Apr 2015 23:25:54 +0900 Subject: [PATCH] Fix inline error with travis gcc-4.8 --- lib/nghttp2_hd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nghttp2_hd.c b/lib/nghttp2_hd.c index b26fbbc3..3a97ac71 100644 --- a/lib/nghttp2_hd.c +++ b/lib/nghttp2_hd.c @@ -114,7 +114,7 @@ static int memeq(const void *s1, const void *s2, size_t n) { * This function was generated by genlibtokenlookup.py. Inspired by * h2o header lookup. https://github.com/h2o/h2o */ -static inline int lookup_token(const uint8_t *name, size_t namelen) { +static int lookup_token(const uint8_t *name, size_t namelen) { switch (namelen) { case 2: switch (name[1]) {