diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-09 21:04:41 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-09 21:04:41 +0000 |
commit | e5947cfa4575c9005301d0b6294d5240baf68ea5 (patch) | |
tree | 7f0c86d64394a3db15f0aa8aee9ee651ed4e1a68 /ui/follow.h | |
parent | 85cb27ba2edda69853a77b336eaa630a5315ecba (diff) |
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
Diffstat (limited to 'ui/follow.h')
-rw-r--r-- | ui/follow.h | 9 |
1 files changed, 2 insertions, 7 deletions
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 <zlib.h> -#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 } |