projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Eliminate '#ifdef HAVE_FOO' for Posix-mandated FOOs.
[mmh]
/
h
/
prototypes.h
diff --git
a/h/prototypes.h
b/h/prototypes.h
index
b05535d
..
bd484e9
100644
(file)
--- a/
h/prototypes.h
+++ b/
h/prototypes.h
@@
-36,7
+36,6
@@
int context_foil(char *);
void context_read(void);
void context_replace(char *, char *);
void context_save(void);
void context_read(void);
void context_replace(char *, char *);
void context_save(void);
-char **copyip(char **, char **, int);
void cpydata(int, int, char *, char *);
void cpydgst(int, int, char *, char *);
int decode_rfc2047(char *, char *, size_t);
void cpydata(int, int, char *, char *);
void cpydgst(int, int, char *, char *);
int decode_rfc2047(char *, char *, size_t);
@@
-48,7
+47,6
@@
int ext_hook(char *, char *, char *);
int folder_addmsg(struct msgs **, char *, int, int, int, int, char *);
int folder_delmsgs(struct msgs *, int, int);
void folder_free(struct msgs *);
int folder_addmsg(struct msgs **, char *, int, int, int, int, char *);
int folder_delmsgs(struct msgs *, int, int);
void folder_free(struct msgs *);
-int folder_pack(struct msgs **, int);
struct msgs *folder_read(char *);
struct msgs *folder_realloc(struct msgs *, int, int);
int gans(char *, struct swit *);
struct msgs *folder_read(char *);
struct msgs *folder_realloc(struct msgs *, int, int);
int gans(char *, struct swit *);
@@
-73,7
+71,7
@@
char *m_name(int);
int m_putenv(char *, char *);
char *m_mktemp(const char *, int *, FILE **);
char *m_mktemp2(const char *, const char *, int *, FILE **);
int m_putenv(char *, char *);
char *m_mktemp(const char *, int *, FILE **);
char *m_mktemp2(const char *, const char *, int *, FILE **);
-void m_unknown(FILE *);
+void thisisanmbox(FILE *);
int makedir(char *);
char *nmh_getpass(const char *);
char *norm_charmap(char *);
int makedir(char *);
char *nmh_getpass(const char *);
char *norm_charmap(char *);
@@
-116,14
+114,6
@@
int vfgets(FILE *, char **);
char *write_charset_8bit(void);
int get_returnpath(char *, int, char *, int);
char *write_charset_8bit(void);
int get_returnpath(char *, int, char *, int);
-/*
-** prototypes for compatibility functions in library
-*/
-#ifndef HAVE_SNPRINTF_PROTOTYPE
-int snprintf(char *, size_t, const char *, ...);
-int vsnprintf(char *, size_t, const char *, va_list);
-#endif
-
int mh_strcasecmp(const char *s1, const char *s2);
int strncasecmp(const char *s1, const char *s2, size_t n);
int mh_strcasecmp(const char *s1, const char *s2);
int strncasecmp(const char *s1, const char *s2, size_t n);