summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-8021x.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-09-25 10:44:23 -0400
committerDan Winship <danw@gnome.org>2012-09-26 12:14:37 -0400
commit6878d20ac430207b49f46c6fafe705747c02e199 (patch)
tree7e440fe71bdbff85fbd2961ddc2986fd17eba9cd /libnm-util/nm-setting-8021x.c
parent74b6b9c768338ce3cd58d781fd837e6abbf3e209 (diff)
downloadNetworkManager-6878d20ac430207b49f46c6fafe705747c02e199.tar.gz
all: Don't use ctype.h macros
The ctype macros (eg, isalnum(), tolower()) are locale-dependent. Use glib's ASCII-only versions instead. Also, replace isascii() with g_ascii_isprint(), since isascii() accepts control characters, which isn't what the code wanted in any of the places where it was using it.
Diffstat (limited to 'libnm-util/nm-setting-8021x.c')
-rw-r--r--libnm-util/nm-setting-8021x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libnm-util/nm-setting-8021x.c b/libnm-util/nm-setting-8021x.c
index 28c0d3f956..96735db21f 100644
--- a/libnm-util/nm-setting-8021x.c
+++ b/libnm-util/nm-setting-8021x.c
@@ -24,7 +24,6 @@
*/
#include <string.h>
-#include <ctype.h>
#include <dbus/dbus-glib.h>
#include "nm-setting-8021x.h"
#include "nm-param-spec-specialized.h"