1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/lib/libstand
Ed Schouten b3608ae18f Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
2012-01-03 18:51:58 +00:00
..
arm
i386
mips
powerpc
sparc64
__main.c Switch to ANSI function prototypes in a few places. 2011-05-03 04:44:50 +00:00
arp.c
assert.c
bcd.c
bootp.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
bootp.h
bootparam.c
bootparam.h
bswap.c Obtain bswap64() function implementation from 2011-06-10 01:13:15 +00:00
bzipfs.c
cd9660.c Switch to ANSI function prototypes in a few places. 2011-05-03 04:44:50 +00:00
close.c
closeall.c
dev.c
dosfs.c - Comment out unused variable. 2011-05-03 07:43:47 +00:00
dosfs.h
environment.c Switch to ANSI function prototypes in a few places. 2011-05-03 04:44:50 +00:00
ether.c
ext2fs.c
fstat.c
getopt.c Switch to ANSI function prototypes in a few places. 2011-05-03 04:44:50 +00:00
gets.c
globals.c
gzipfs.c
if_ether.h
in_cksum.c
inet_ntoa.c
ioctl.c
iodesc.h
libstand.3
lseek.c
Makefile Merge index() and strchr() together. 2012-01-03 07:14:01 +00:00
net.c In sendrecv function, change the receive timeout value between retries 2011-06-15 21:58:01 +00:00
net.h
netif.c
netif.h
nfs.c
nfsv2.h
nullfs.c
open.c
pager.c
printf.c
qdivrem.c
quad.h
random.c
rarp.c
read.c
readdir.c
rpc.c
rpc.h
rpcv2.h
saioctl.h
sbrk.c
splitfs.c
stand.h - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00
stat.c
strcasecmp.c
strdup.c
strerror.c
strtol.c
tftp.c Add placeholder code for prepending pathnames to tftp. 2011-12-22 09:36:37 +00:00
tftp.h
twiddle.c
udp.c Add #include <netinet/in_pcb.h> for missing forward declation of 2011-05-03 07:39:54 +00:00
ufs.c
write.c
zalloc_defs.h - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00
zalloc_malloc.c - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00
zalloc_mem.h - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00
zalloc_protos.h - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00
zalloc.c - Removing some unneeded definitions of NULL(cruft related to 1970's C). 2011-07-10 07:25:34 +00:00