X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=protos.h;h=d4b6bead83681e9dbe0107d960384785991f602e;hp=7381c01b65ec55444a3c161d388bea7eeb76d281;hb=f7f0722b06934cf83c08e60d805238478ada2699;hpb=c88f8ebd5e7542e4ee2ac2c24dfd5f358dbb4235 diff --git a/protos.h b/protos.h index 7381c01..d4b6bea 100644 --- a/protos.h +++ b/protos.h @@ -134,8 +134,8 @@ void mutt_expand_fmt (char *, size_t, const char *, const char *); void mutt_expand_link (char *, const char *, const char *); void mutt_fix_reply_recipients (ENVELOPE * env); void mutt_folder_hook (char *); -void mutt_format_string (char *, size_t, int, int, int, char, const char *, - size_t, int); +void mutt_format_string (char *, ssize_t, int, int, int, char, const char *, + ssize_t, int); void mutt_format_s (char *, size_t, const char *, const char *); void mutt_format_s_tree (char *, size_t, const char *, const char *); void mutt_forward_intro (FILE * fp, HEADER * cur); @@ -305,17 +305,11 @@ int mutt_from_base64 (char *, const char *); /* utf8.c */ int mutt_wctoutf8 (char *s, unsigned int c); -#ifdef LOCALES_HACK -#define IsPrint(c) (isprint((unsigned char)(c)) || \ - ((unsigned char)(c) >= 0xa0)) -#define IsWPrint(wc) (iswprint(wc) || wc >= 0xa0) -#else #define IsPrint(c) (isprint((unsigned char)(c)) || \ (option (OPTLOCALES) ? 0 : \ ((unsigned char)(c) >= 0xa0))) #define IsWPrint(wc) (iswprint(wc) || \ (option (OPTLOCALES) ? 0 : (wc >= 0xa0))) -#endif #define new_pattern() p_new(pattern_t, 1) @@ -351,11 +345,6 @@ int getdnsdomainname (char *, size_t); #define SCO #endif -/* SCO Unix uses chsize() instead of ftruncate() */ -#ifndef HAVE_FTRUNCATE -#define ftruncate chsize -#endif - #ifndef HAVE_SNPRINTF extern int snprintf (char *, size_t, const char *, ...); #endif