[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [p2v PATCH 2/6] Use g_ascii_isspace instead of c_isspace from gnulib



---
 cpuid.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cpuid.c b/cpuid.c
index c12224a..ca000e1 100644
--- a/cpuid.c
+++ b/cpuid.c
@@ -39,7 +39,6 @@
 #include <error.h>
 #include <libintl.h>
 
-#include "c-ctype.h"
 #include "getprogname.h"
 #include "ignore-value.h"
 
@@ -97,7 +96,7 @@ get_lscpu (void)
     *p = '\0';
     key = strdup (line);
     /* Skip leading whitespace in the value. */
-    for (++p; *p && c_isspace (*p); ++p)
+    for (++p; *p && g_ascii_isspace (*p); ++p)
       ;
     value = strdup (p);
 
-- 
2.21.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]