From 1ab6dbe9907901b0abe84c451ead6b25a74fbb5b Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Tue, 27 Mar 2012 15:14:46 +0200 Subject: [PATCH] Create proper prototypes for formataddr(). Pulled in from nmh. Thanks to Ken Hornstein. --- h/fmt_scan.h | 1 + sbr/fmt_scan.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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; -- 1.7.10.4