diff options
author | Richard Basch <probe@mit.edu> | 1993-09-24 12:11:02 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-09-24 12:11:02 +0000 |
commit | c0a2d6162ed6cd3adcdc007d215af9de95d9c295 (patch) | |
tree | 8b879bebab531df9898752323a5c8e0d9cfcc28a | |
parent | 68b772ac13ff5371b4e1f7d31f4da2b154ee94f3 (diff) |
Code references to index/rindex have been changed to strchr/strrchr (ANSI)
-rw-r--r-- | h/zephyr/zephyr_internal.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/h/zephyr/zephyr_internal.h b/h/zephyr/zephyr_internal.h index 68d1aff..d0f8540 100644 --- a/h/zephyr/zephyr_internal.h +++ b/h/zephyr/zephyr_internal.h @@ -16,18 +16,12 @@ #define __ZINTERNAL_H__ #include <zephyr/zephyr.h> -#if defined(_POSIX_SOURCE) || defined(SYSV) #include <string.h> -#define index strchr -#define rindex strrchr -#else -#include <strings.h> /* for strcpy, etc. */ -#endif #include <sys/types.h> /* for time_t, uid_t, etc */ + #ifdef lint -#include <sys/uio.h> /* to make lint shut up about - struct/union iovec */ -#endif /* lint */ +#include <sys/uio.h> /* to make lint shut up about struct/union iovec */ +#endif struct _Z_Hole { struct _Z_Hole *next; |