sbr/trim.c: New helper function trim(). Strips whitespace from a string.
[mmh] / h / prototypes.h
index d8231f5..ed7f1ae 100644 (file)
@@ -32,7 +32,6 @@ int is_native_charset(char *);
 char *concat(char *, ...);
 int context_del(char *);
 char *context_find(char *);
-int context_foil(char *);
 void context_read(void);
 void context_replace(char *, char *);
 void context_save(void);
@@ -73,7 +72,6 @@ char *m_mktemp(const char *, int *, FILE **);
 char *m_mktemp2(const char *, const char *, int *, FILE **);
 void thisisanmbox(FILE *);
 int makedir(char *);
-char *nmh_getpass(const char *);
 char *norm_charmap(char *);
 char *new_fs(char *, char *);
 int pidwait(pid_t, int);
@@ -105,6 +103,7 @@ int smatch(char *, struct swit *);
 char *snprintb(char *, size_t, unsigned, char *);
 int stringdex(char *, char *);
 char *toabsdir(char *);
+char *trim(unsigned char *);
 char *trimcpy(unsigned char *);
 int unputenv(char *);
 int uprf(char *, char *);
@@ -119,7 +118,7 @@ int strncasecmp(const char *s1, const char *s2, size_t n);
 ** prototypes for some routines in uip
 */
 int distout(char *, char *, char *);
-int what_now(char *, int, int, char *, char *, int, struct msgs *,
+int what_now(char *, int, char *, char *, int, struct msgs *,
                char *, char *);
 
 /*