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",
return dp;
}
-#ifdef notdef
+#ifdef NEED_RINDEX
/*
* Return the ptr in sp at which the character c last
* appears; NULL if not found
} 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
return (NULL);
}
-#endif /* notdef */
+#endif /* not NEED_INDEX */
/* Print error message and exit. */