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.
v0.10
Ben Noordhuis 13 years ago
parent e4c13a8784
commit 3e626c6cb6

@ -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));

Loading…
Cancel
Save