summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2016-09-07 19:47:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2016-09-07 19:47:53 +0000
commitb9283d0ed514a127d5a703ae3364e3844f8a6da3 (patch)
tree21b6436934360c3bb2c5d5e3b78f09803c5545ee /usr.bin
parent3f8208c322b17b00e97a817e997d5276fe95c3cf (diff)
Avoid using the obsolete _tolower() macro.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/spell/look.c4
1 files changed, 2 insertions, 2 deletions
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);