Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal colors.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 24 Aug 1999 13:53:13 -0500 (CDT)
guy         1999/08/24 13:53:11 CDT

  Modified files:
    .                    colors.c 
  Log:
  Use "strchr()" rather than "index()" - "strchr()" is the ANSI standard
  routine, it's what we use elsewhere in Ethereal, all modern UNIXes have
  it, and it's declared in <string.h>, unlike "index()" which isn't
  necessarily declared there (and thus we get GCC warnings about "index()"
  being undeclared).
  
  Revision  Changes    Path
  1.2       +2 -2      ethereal/colors.c