[BACK]Return to fep_main.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / fep

Diff for /OpenXM_contrib2/fep/fep_main.c between version 1.10 and 1.11

version 1.10, 2017/10/02 06:46:11 version 1.11, 2019/12/13 15:41:36
Line 1 
Line 1 
 /*      Copyright (c) 1987, 1988 by Software Research Associates, Inc.  */  /*      Copyright (c) 1987, 1988 by Software Research Associates, Inc.  */
   
   #if defined(ANDROID)
   #include <strings.h>
   #define index(s,c) strchr(s,c)
   #define rindex(s,c) strrchr(s,c)
   #endif
   
 #ifndef lint  #ifndef lint
 static char rcsid[]=  static char rcsid[]=
 "$Id$ (SRA)";  "$Id$ (SRA)";
Line 248  DEFAULT:
Line 254  DEFAULT:
      * Set variable of command name.       * Set variable of command name.
      */       */
     {      {
   #if defined(ANDROID)
           char *cp = argv[1];
   #else
         char *cp = argv[1], *rindex();          char *cp = argv[1], *rindex();
   #endif
   
         if (any ('/', cp))          if (any ('/', cp))
             cp = rindex (cp, '/') + 1;              cp = rindex (cp, '/') + 1;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>