aboutsummaryrefslogtreecommitdiffstats
path: root/epan/oids.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/oids.c')
-rw-r--r--epan/oids.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/oids.c b/epan/oids.c
index 8bfff54e10..dbb7e79215 100644
--- a/epan/oids.c
+++ b/epan/oids.c
@@ -27,7 +27,6 @@
#include <glib.h>
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
#include <wsutil/report_err.h>
@@ -274,7 +273,7 @@ static char* alnumerize(const char* name) {
char c;
for (;(c = *r); r++) {
- if (isalnum(c) || c == '_' || c == '-' || c == '.') {
+ if (g_ascii_isalnum(c) || c == '_' || c == '-' || c == '.') {
*(w++) = c;
} else if (c == ':' && r[1] == ':') {
*(w++) = '.';