(index, rindex): Obsolete BSDisms; remove. Use standard strchr() and
strrchr() instead. (setbuffer): Obsolete BSDism, unused; remove.
This commit is contained in:
parent
4ae9c417b3
commit
64afd7747b
16 changed files with 29 additions and 227 deletions
|
@ -160,7 +160,7 @@ pr_player(struct player *pl, int id, s_char *buf)
|
|||
if (pl->curid == -1) {
|
||||
outid(pl, id);
|
||||
}
|
||||
p = index(bp, '\n');
|
||||
p = strchr(bp, '\n');
|
||||
if (p != 0) {
|
||||
len = (p - bp) + 1;
|
||||
if (pl->command && (pl->command->c_flags & C_MOD))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue