From 6e00dba11ff815307cd60cee7a7f69d115591c7e Mon Sep 17 00:00:00 2001 From: David Levine Date: Wed, 11 Jan 2012 17:06:44 -0600 Subject: [PATCH] Removed or protected some unused macros. --- sbr/client.c | 3 --- sbr/fmt_scan.c | 2 -- sbr/uprf.c | 6 ++++-- uip/inc.c | 4 +++- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/sbr/client.c b/sbr/client.c index 763b2a4..7ae356a 100644 --- a/sbr/client.c +++ b/sbr/client.c @@ -16,9 +16,6 @@ #include #include -#define TRUE 1 -#define FALSE 0 - #define MAXARGS 1000 /* diff --git a/sbr/fmt_scan.c b/sbr/fmt_scan.c index 9784919..2bf1821 100644 --- a/sbr/fmt_scan.c +++ b/sbr/fmt_scan.c @@ -22,8 +22,6 @@ # include #endif -#define NFMTS MAXARGS - extern char *formataddr (); /* hook for custom address formatting */ #ifdef LBL diff --git a/sbr/uprf.c b/sbr/uprf.c index b3c81ff..5da5e76 100644 --- a/sbr/uprf.c +++ b/sbr/uprf.c @@ -9,8 +9,10 @@ #include -#define TO_LOWER 040 -#define NO_MASK 000 +#ifndef LOCALE +# define TO_LOWER 040 +# define NO_MASK 000 +#endif int diff --git a/uip/inc.c b/uip/inc.c index 1dcba6a..9310ae1 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -109,7 +109,9 @@ static struct swit switches[] = { * flags for the mail source */ #define INC_FILE 0 -#define INC_POP 1 +#ifdef POP +# define INC_POP 1 +#endif /* POP */ static int inc_type; static struct Maildir_entry { -- 1.7.10.4