summaryrefslogtreecommitdiff
path: root/popt/poptint.h
diff options
context:
space:
mode:
Diffstat (limited to 'popt/poptint.h')
-rw-r--r--popt/poptint.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/popt/poptint.h b/popt/poptint.h
index 5e75712c..bec7c976 100644
--- a/popt/poptint.h
+++ b/popt/poptint.h
@@ -22,6 +22,12 @@ _free(/*@only@*/ /*@null@*/ const void * p)
return NULL;
}
+static inline int
+isSpace(const char *ptr)
+{
+ return isspace(*(unsigned char *)ptr);
+}
+
/* Bit mask macros. */
/*@-exporttype -redef @*/
typedef unsigned int __pbm_bits;