# HG changeset patch # User Jim Blandy # Date 711147297 0 # Node ID 11867ad5bab40e1fa5231b5d0e6b1aa6d742e9e1 # Parent 9c89fd7ddd4110154ba13df1c8e2771a9301acae *** empty log message *** diff -r 9c89fd7ddd41 -r 11867ad5bab4 lib-src/etags.c --- a/lib-src/etags.c Tue Jul 14 19:42:01 1992 +0000 +++ b/lib-src/etags.c Tue Jul 14 20:54:57 1992 +0000 @@ -50,7 +50,8 @@ extern int strcmp (); #ifdef hpux -#define notdef +#define NEED_INDEX 1 +#define NEED_RINDEX 1 #endif /* Define the symbol ETAGS to make the program "etags", @@ -2905,7 +2906,7 @@ return dp; } -#ifdef notdef +#ifdef NEED_RINDEX /* * Return the ptr in sp at which the character c last * appears; NULL if not found @@ -2927,7 +2928,10 @@ } while (*sp++); return (r); } +#endif /* not NEED_RINDEX */ + +#ifdef NEED_INDEX /* * Return the ptr in sp at which the character c first * appears; NULL if not found @@ -2947,7 +2951,7 @@ return (NULL); } -#endif /* notdef */ +#endif /* not NEED_INDEX */ /* Print error message and exit. */