summaryrefslogtreecommitdiff
path: root/event_tagging.c
diff options
context:
space:
mode:
authorNiels Provos <provos@gmail.com>2007-06-30 18:58:34 +0000
committerNiels Provos <provos@gmail.com>2007-06-30 18:58:34 +0000
commitf0ff792afabecc032bc9f92e504ff6601057b415 (patch)
tree51c03b4ed4a758e7a9681e8a0ae8fc2a376db355 /event_tagging.c
parentaa5c8068888ffa501c81d191b93ca1b5765b54b7 (diff)
downloadlibevent-f0ff792afabecc032bc9f92e504ff6601057b415.tar.gz
fixes from Joerg Sonnenberger:
http.c is a violation of the ctype(3) interface and an unused function. test/regress_http.c are incorrect format strings. test/regress.c uses raise(3) from signal.h. evdns.c: evdns_error_strings is unused. The GET* macros can eat the semicolon from the expression. pos is passed in as off_t, so just pass that down. When assigning negativ values to unsigned variables, an explicit cast is considered good style. svn:r367
Diffstat (limited to 'event_tagging.c')
-rw-r--r--event_tagging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event_tagging.c b/event_tagging.c
index 7a82b829..6bb44e23 100644
--- a/event_tagging.c
+++ b/event_tagging.c
@@ -149,7 +149,7 @@ evtag_marshal_timeval(struct evbuffer *evbuf, u_int8_t tag, struct timeval *tv)
EVBUFFER_LENGTH(_buf));
}
-static int inline
+static int
decode_int_internal(u_int32_t *pnumber, struct evbuffer *evbuf, int dodrain)
{
u_int32_t number = 0;