Fix inline error with travis gcc-4.8

This commit is contained in:
Tatsuhiro Tsujikawa 2015-04-22 23:25:54 +09:00
parent 4069aab4f7
commit 58b7f4a096
1 changed files with 1 additions and 1 deletions

View File

@ -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]) {