diff options
author | 2013-11-27 21:25:04 +0000 | |
---|---|---|
committer | 2013-11-27 21:25:04 +0000 | |
commit | 80916d9a4c5b670bc832f2b32cbdcb98a0f6c79d (patch) | |
tree | 21b00df88aa2eceeedd65eeb91cc2b1d7fc00d9a | |
parent | Hook up gem_open/close_object methods. (diff) | |
download | wireguard-openbsd-80916d9a4c5b670bc832f2b32cbdcb98a0f6c79d.tar.xz wireguard-openbsd-80916d9a4c5b670bc832f2b32cbdcb98a0f6c79d.zip |
make the _dl_isalnum() resemble the ctype version
prodding from kettenis
-rw-r--r-- | libexec/ld.so/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/util.h b/libexec/ld.so/util.h index 45115aa7cce..1db4386e3bc 100644 --- a/libexec/ld.so/util.h +++ b/libexec/ld.so/util.h @@ -1,4 +1,4 @@ -/* $OpenBSD: util.h,v 1.23 2013/04/05 12:58:03 kurt Exp $ */ +/* $OpenBSD: util.h,v 1.24 2013/11/27 21:25:04 deraadt Exp $ */ /* * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> @@ -186,7 +186,7 @@ _dl_strstr(const char *s, const char *find) } static inline int -_dl_isalnum(const char c) +_dl_isalnum(int c) { return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9'); } |