diff options
author | Jim Blandy <[email protected]> | 1992-07-14 20:54:57 +0000 |
---|---|---|
committer | Jim Blandy <[email protected]> | 1992-07-14 20:54:57 +0000 |
commit | 9d7ad1b3591f35aa65d9b224b5a8028b865b9f7e (patch) | |
tree | d039f5887545beef5d513724e7e75d5b8a7a9c1a /lib-src | |
parent | d46bac56adeb127a91b7fef565ac978590a46922 (diff) |
*** empty log message ***
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/etags.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index ae4e5485e0..6cab322bf8 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -50,7 +50,8 @@ extern char *strcpy (), *strncpy (); 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 @@ savenstr (cp, len) 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 @@ rindex (sp, c) } 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 @@ index (sp, c) return (NULL); } -#endif /* notdef */ +#endif /* not NEED_INDEX */ /* Print error message and exit. */ |