summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-bond.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-bond.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-bond.c')
-rw-r--r--libnm-util/nm-setting-bond.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libnm-util/nm-setting-bond.c b/libnm-util/nm-setting-bond.c
index 2cabe40c05..5702713b8d 100644
--- a/libnm-util/nm-setting-bond.c
+++ b/libnm-util/nm-setting-bond.c
@@ -22,7 +22,6 @@
*/
#include <string.h>
-#include <ctype.h>
#include <stdlib.h>
#include <dbus/dbus-glib.h>