From: markus schnalke Date: Tue, 27 Mar 2012 13:14:46 +0000 (+0200) Subject: Create proper prototypes for formataddr(). X-Git-Tag: mmh-thesis-end~130 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=1ab6dbe9907901b0abe84c451ead6b25a74fbb5b;p=mmh Create proper prototypes for formataddr(). Pulled in from nmh. Thanks to Ken Hornstein. --- diff --git a/h/fmt_scan.h b/h/fmt_scan.h index a205868..09346da 100644 --- a/h/fmt_scan.h +++ b/h/fmt_scan.h @@ -89,3 +89,4 @@ struct format { */ struct format *fmt_scan(struct format *, char *, int, int *); int fmt_compile(char *, struct format **); +char *formataddr(char *, char *); diff --git a/sbr/fmt_scan.c b/sbr/fmt_scan.c index 8414829..ec086a1 100644 --- a/sbr/fmt_scan.c +++ b/sbr/fmt_scan.c @@ -25,8 +25,6 @@ # include #endif -extern char *formataddr(); /* hook for custom address formatting */ - extern int fmt_norm; /* defined in sbr/fmt_def.c = AD_NAME */ struct mailname fmt_mnull;