diff options
author | Dan Winship <danw@gnome.org> | 2012-09-25 10:44:23 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2012-09-26 12:14:37 -0400 |
commit | 6878d20ac430207b49f46c6fafe705747c02e199 (patch) | |
tree | 7e440fe71bdbff85fbd2961ddc2986fd17eba9cd /src/nm-system.c | |
parent | 74b6b9c768338ce3cd58d781fd837e6abbf3e209 (diff) | |
download | NetworkManager-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 'src/nm-system.c')
-rw-r--r-- | src/nm-system.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nm-system.c b/src/nm-system.c index bcff5092c2..4f422bf1aa 100644 --- a/src/nm-system.c +++ b/src/nm-system.c @@ -40,7 +40,6 @@ #include <resolv.h> #include <netdb.h> #include <glib.h> -#include <ctype.h> #include <linux/if.h> #include <linux/sockios.h> #include <linux/if_bonding.h> |