> make[2]: Entering directory `/home/ca/nntpcache-2.4.0b3/libproff' > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cf -I../common -I../mmap > -I../libmmall > oc -g -O2 -Wall -pipe -c pattern.c > In file included from str.h:40, > from libproff.h:13, > from pattern.c:43: > str.ext:26: conflicting types for `strcasestr' > /usr/include/string.h:172: previous declaration of `strcasestr' > pattern.c: In function `matchExp': Following is the nntpcache-2.4.0b3/libproff/str.ext that works for me (tm) under Linux. cheers, Peter -8<- /* * (c) 1997 Julian Assange <proff@iq.org> SEE THE FILE "COPYING" FOR COPYRIGHT * * DO NOT EDIT! This file was created automatically by the following command: * * ../scripts/genextern.sh str.c -DHAVE_CONFIG_H -I. -I. -I.. -I../cf -I../common -I../mmap -I../libmmalloc -I/usr/pkg/include -g -O2 -Wall -pipe * */ #ifdef __cplusplus extern "C" { #endif # #ifndef EXPORT # define EXPORT #endif #ifdef AUTOGEN # define EXP_(x) x #else # define EXP_(x) #endif extern int strExchange (char *s, char c1, char c2); extern int strLower (char *s); extern int strUpper (char *s); extern int strSnip (char *s, int len, char *start, char *end, char *buf, int blen); #ifndef HAVE_STRCASESTR extern char *strcasestr (char *s, char *find); #endif extern char *strncasestr (char *s, char *find, int slen); extern int strStripLeftRight (char *s); extern int strStripEOL (char *s); extern int strnStripEOL (char *s, int n); extern int strMakeEOLn (char *s); extern int strMakeEOLrn (char *s); extern n_u32 strHash (n_u32 h, char *s); extern struct strList * lp_strListAdd (struct strList *l, char *s, char *desc); extern void strListFree (struct strList *l); extern struct strStack *lp_strStackAdd (struct strStack *l, char *s, char *desc); extern struct strStack *lp_strnStackAdd (struct strStack *l, char *s, int len, char *desc); extern void strStackFree (struct strStack *l); extern int strToi (char *s); extern int strKToi(char *s, int *i); #ifdef __cplusplus } #endif