diff options
| author | Jim Blandy | 1992-07-14 20:54:57 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-07-14 20:54:57 +0000 |
| commit | 9d7ad1b3591f35aa65d9b224b5a8028b865b9f7e (patch) | |
| tree | d039f5887545beef5d513724e7e75d5b8a7a9c1a /lib-src | |
| parent | d46bac56adeb127a91b7fef565ac978590a46922 (diff) | |
| download | emacs-9d7ad1b3591f35aa65d9b224b5a8028b865b9f7e.tar.gz emacs-9d7ad1b3591f35aa65d9b224b5a8028b865b9f7e.zip | |
*** 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 ae4e5485e09..6cab322bf87 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -50,7 +50,8 @@ extern char *strcpy (), *strncpy (); | |||
| 50 | extern int strcmp (); | 50 | extern int strcmp (); |
| 51 | 51 | ||
| 52 | #ifdef hpux | 52 | #ifdef hpux |
| 53 | #define notdef | 53 | #define NEED_INDEX 1 |
| 54 | #define NEED_RINDEX 1 | ||
| 54 | #endif | 55 | #endif |
| 55 | 56 | ||
| 56 | /* Define the symbol ETAGS to make the program "etags", | 57 | /* Define the symbol ETAGS to make the program "etags", |
| @@ -2905,7 +2906,7 @@ savenstr (cp, len) | |||
| 2905 | return dp; | 2906 | return dp; |
| 2906 | } | 2907 | } |
| 2907 | 2908 | ||
| 2908 | #ifdef notdef | 2909 | #ifdef NEED_RINDEX |
| 2909 | /* | 2910 | /* |
| 2910 | * Return the ptr in sp at which the character c last | 2911 | * Return the ptr in sp at which the character c last |
| 2911 | * appears; NULL if not found | 2912 | * appears; NULL if not found |
| @@ -2927,7 +2928,10 @@ rindex (sp, c) | |||
| 2927 | } while (*sp++); | 2928 | } while (*sp++); |
| 2928 | return (r); | 2929 | return (r); |
| 2929 | } | 2930 | } |
| 2931 | #endif /* not NEED_RINDEX */ | ||
| 2930 | 2932 | ||
| 2933 | |||
| 2934 | #ifdef NEED_INDEX | ||
| 2931 | /* | 2935 | /* |
| 2932 | * Return the ptr in sp at which the character c first | 2936 | * Return the ptr in sp at which the character c first |
| 2933 | * appears; NULL if not found | 2937 | * appears; NULL if not found |
| @@ -2947,7 +2951,7 @@ index (sp, c) | |||
| 2947 | return (NULL); | 2951 | return (NULL); |
| 2948 | } | 2952 | } |
| 2949 | 2953 | ||
| 2950 | #endif /* notdef */ | 2954 | #endif /* not NEED_INDEX */ |
| 2951 | 2955 | ||
| 2952 | /* Print error message and exit. */ | 2956 | /* Print error message and exit. */ |
| 2953 | 2957 | ||