#ifndef MUTT_LIB_LIB_STR_H
#define MUTT_LIB_LIB_STR_H
-#include <string.h>
-#include <ctype.h>
-
-#include "mem.h"
-
#define HUGE_STRING 5120
#define LONG_STRING 1024
#define STRING 256
return s;
}
+static inline const char *m_strnextsp(const char *s) {
+ while (*s && !isspace((unsigned char)*s))
+ s++;
+ return s;
+}
+
static inline const char *skipspaces(const char *s) {
while (*s && isspace((unsigned char)*s))
s++;