Mercurial > emacs
changeset 774:11867ad5bab4
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 14 Jul 1992 20:54:57 +0000 |
parents | 9c89fd7ddd41 |
children | 1ca26ccad38e |
files | lib-src/etags.c |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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. */