projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more cosmetics.
[apps/madmutt.git]
/
lib-lib
/
str.h
diff --git
a/lib-lib/str.h
b/lib-lib/str.h
index
25abac8
..
e456fdd
100644
(file)
--- a/
lib-lib/str.h
+++ b/
lib-lib/str.h
@@
-29,8
+29,8
@@
#define STRING 256
#define SHORT_STRING 128
#define STRING 256
#define SHORT_STRING 128
-#define NONULL(x) (x?x:"")
-#define ISSPACE(c) isspace((unsigned char)c)
+#define NONULL(x)
(x?x:"")
+#define ISSPACE(c)
isspace((unsigned char)c)
extern unsigned char const __m_strdigits[128];
extern signed char const __m_b64digits[128];
extern unsigned char const __m_strdigits[128];
extern signed char const __m_b64digits[128];
@@
-100,7
+100,7
@@
static inline int m_strcasecmp(const char *a, const char *b) {
}
static inline int m_strncmp(const char *a, const char *b, ssize_t n) {
}
static inline int m_strncmp(const char *a, const char *b, ssize_t n) {
- return strncmp
(NONULL(a), NONULL(b), n);
+ return strncmp(NONULL(a), NONULL(b), n);
}
static inline int m_strncasecmp(const char *a, const char *b, ssize_t n) {
}
static inline int m_strncasecmp(const char *a, const char *b, ssize_t n) {