X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/bc93ee842fd5dd2a1cc2b2cb25656a98c673d772..c1c2c8ff6048202e9f682948b86772f98145610c:/popt/poptint.h 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;