Article View: gnu.utils.bug
Article #686Re: Autoconf and duplicated function tests
From: Roland McGrath
Date: Thu, 20 Aug 1992 08:18
Date: Thu, 20 Aug 1992 08:18
15 lines
897 bytes
897 bytes
> #ifdef USG > #include <string.h> > #else > #include <strings.h> > #endif > #ifndef HAVE_STRSTR > const char *strstr (); > #endif > > If the system already offers strstr, <string.h> or <strings.h> will > declare it, and my own definition will fatally conflict. That is only because your declaration is wrong. The correct declaration, "char *strstr ();" should not conflict with a correct prototype in <string.h>.
Technical Details
Message-ID:
<9208201618.AA25056@geech.gnu.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!gnu.ai.mit.edu!rolandReferences:
<9208191755.AA05200@icule.UUCP>Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!gnu.ai.mit.edu!roland From: roland@gnu.ai.mit.edu (Roland McGrath) Subject: Re: Autoconf and duplicated function tests Message-ID: <9208201618.AA25056@geech.gnu.ai.mit.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet References: <9208191755.AA05200@icule.UUCP> Distribution: gnu Date: Thu, 20 Aug 1992 08:18:07 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 16