From 78173ef8190a1d5f9bab28053b0c274329533e59 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Sun, 21 Apr 2013 18:46:35 +0000 Subject: Build warning cleanup. * introduced SOClen type (aka. socklen_t) --- src/htslib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/htslib.h') diff --git a/src/htslib.h b/src/htslib.h index d59ee6d..be921bc 100644 --- a/src/htslib.h +++ b/src/htslib.h @@ -90,7 +90,7 @@ typedef struct t_dnscache t_dnscache; #else #define MSVC2003INLINEBUG #endif -MSVC2003INLINEBUG static char* getHtsOptBuff_(httrackp *opt) { +MSVC2003INLINEBUG HTS_STATIC char* getHtsOptBuff_(httrackp *opt) { opt->state.concat.index = ( opt->state.concat.index + 1 ) % 16; return opt->state.concat.buff[opt->state.concat.index]; } @@ -339,7 +339,7 @@ void rawlinput(FILE* fp,char* s,int max); char* strstrcase(char *s,char *o); int ident_url_absolute(const char* url,char* adr,char* fil); void fil_simplifie(char* f); -int is_unicode_utf8(const unsigned char* buffer, size_t size); +int is_unicode_utf8(const char* buffer, size_t size); void map_characters(unsigned char* buffer, unsigned int size, unsigned int* map); int ishtml(httrackp *opt,const char* urlfil); int ishtml_ext(const char* a); -- cgit v1.2.3