From 3e626c6cb632f488cc8f9f5bbb4ca5a2d87bef19 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 27 Jan 2012 20:29:38 +0100 Subject: [PATCH] Don't use 'inline'. 'inline' is not a recognized C89 keyword, it made the build fail with strict or older compilers (msvc 2008, gcc with -std=c89). 'inline' is also just a hint, one that gcc 4.4.3 in this particular case happily ignored. Ergo, remove it. --- http_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_parser.c b/http_parser.c index 534473e..3f7a616 100644 --- a/http_parser.c +++ b/http_parser.c @@ -403,7 +403,7 @@ int http_message_needs_eof(http_parser *parser); * assumed that the caller cares about (and can detect) the transition between * URL and non-URL states by looking for these. */ -static inline enum state +static enum state parse_url_char(enum state s, const char ch, int is_connect) { assert(!isspace(ch));