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