(index, rindex): Obsolete BSDisms; remove. Use standard strchr() and
strrchr() instead.
This commit is contained in:
parent
e50e1b4b35
commit
93c4fecfd6
1 changed files with 0 additions and 6 deletions
|
@ -60,8 +60,6 @@ typedef unsigned int u_int;
|
||||||
#define random rand
|
#define random rand
|
||||||
#define srandom srand
|
#define srandom srand
|
||||||
|
|
||||||
#define index strchr
|
|
||||||
#define rindex strrchr
|
|
||||||
/*#define _POSIX_ */
|
/*#define _POSIX_ */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -178,10 +176,6 @@ extern char *calloc();
|
||||||
extern char *ctime();
|
extern char *ctime();
|
||||||
extern char *strncpy();
|
extern char *strncpy();
|
||||||
extern char *strcpy();
|
extern char *strcpy();
|
||||||
#ifndef NeXT
|
|
||||||
extern char *index();
|
|
||||||
extern char *rindex();
|
|
||||||
#endif /* NeXT */
|
|
||||||
#endif /* !aix && !sgi */
|
#endif /* !aix && !sgi */
|
||||||
|
|
||||||
extern time_t time();
|
extern time_t time();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue