From b9283d0ed514a127d5a703ae3364e3844f8a6da3 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 7 Sep 2016 19:47:53 +0000 Subject: Avoid using the obsolete _tolower() macro. --- usr.bin/spell/look.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/spell') diff --git a/usr.bin/spell/look.c b/usr.bin/spell/look.c index b9e0b254efc..425a99a1225 100644 --- a/usr.bin/spell/look.c +++ b/usr.bin/spell/look.c @@ -1,4 +1,4 @@ -/* $OpenBSD: look.c,v 1.4 2009/10/27 23:59:43 deraadt Exp $ */ +/* $OpenBSD: look.c,v 1.5 2016/09/07 19:47:52 millert Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -52,7 +52,7 @@ look(u_char *string, u_char *front, u_char *back) /* Convert string to lower case before searching. */ for (s = string; *s; s++) { if (isupper(*s)) - *s = _tolower(*s); + *s = tolower(*s); } front = binary_search(string, front, back); -- cgit v1.2.3