1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00
freebsd/sys/boot/ofw/libofw
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
..
devicename.c
elf_freebsd.c
libofw.h
Makefile
ofw_console.c
ofw_copy.c Check the real-mode? OF property to find out whether we operate in real or 2010-11-17 19:35:56 +00:00
ofw_disk.c
ofw_memory.c
ofw_module.c
ofw_net.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
ofw_reboot.c
ofw_time.c
openfirm.c Check the OF_getprop() return value before proceeding. Allocate only as 2010-11-20 19:23:16 +00:00
openfirm.h Check the real-mode? OF property to find out whether we operate in real or 2010-11-17 19:35:56 +00:00
ppc64_elf_freebsd.c