This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

strchr()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]