From e5947cfa4575c9005301d0b6294d5240baf68ea5 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Mon, 9 Sep 2013 21:04:41 +0000 Subject: Cleanup follow.h a bit: - no need to include zlib.h - sgetline() function is not used outside of follow.c svn path=/trunk/; revision=51895 --- ui/follow.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'ui/follow.h') diff --git a/ui/follow.h b/ui/follow.h index d17cda4318..ceb59ca025 100644 --- a/ui/follow.h +++ b/ui/follow.h @@ -44,10 +44,6 @@ #include "version_info.h" -#ifdef HAVE_LIBZ -#include -#endif - #ifdef SSL_PLUGIN #include "packet-ssl-utils.h" #else @@ -98,11 +94,10 @@ typedef struct { GByteArray *data; } follow_record_t; -char * -sgetline(char *str, int *next); - +#ifdef HAVE_LIBZ gboolean parse_http_header(char *data, size_t len, size_t *content_start); +#endif #ifdef __cplusplus } -- cgit v1.2.1