1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/games
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
..
bcd Add static keywords to variables and functions where possible in games/. 2011-11-05 07:18:53 +00:00
caesar Add static keywords to variables and functions where possible in games/. 2011-11-05 07:18:53 +00:00
factor In games/factor/factor.c, fix a warning about a format string not being 2011-12-16 21:24:11 +00:00
fortune Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
grdc Add static keywords to variables and functions where possible in games/. 2011-11-05 07:18:53 +00:00
morse Add static keywords to variables and functions where possible in games/. 2011-11-05 07:18:53 +00:00
number Add static keywords to variables and functions where possible in games/. 2011-11-05 07:18:53 +00:00
pom Drop advertising clause in manpages. It was done a long time ago 2010-12-06 19:12:51 +00:00
ppt Remove the third clause for the Berkeley parts of games, per the 2010-02-15 18:46:02 +00:00
primes Remove the third clause for the Berkeley parts of games, per the 2010-02-15 18:46:02 +00:00
random Drop advertising clause in manpages. It was done a long time ago 2010-12-06 19:12:51 +00:00
Makefile Do not build the majority of the games. Remaining are the 2002-10-20 11:18:56 +00:00
Makefile.inc Improve the distributeworld target in Makefile.inc1 and update the release 2011-03-02 14:39:26 +00:00