This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
strchr()
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: strchr()
- From: Allin Cottrell <cottrell at ricardo dot ecn dot wfu dot edu>
- Date: Mon, 27 Mar 2000 15:25:11 -0500 (EST)
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
I came across some oldish code that didn't compile because
macro `strchr' used without args
I know I can fix this just by deleting the offending line:
extern char *strchr();
but can anyone tell me the right way to bracket out this
declaration so the code will compile on all systems? Thanks.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC