From b2cd63b75b899554edb5b1e9ac321a0b59bb6aaf Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 25 Feb 1998 16:11:27 +0000 Subject: Silence some compiler warnings. --- mail/faces/patches/patch-ae | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 mail/faces/patches/patch-ae diff --git a/mail/faces/patches/patch-ae b/mail/faces/patches/patch-ae new file mode 100644 index 00000000000..595fe41e467 --- /dev/null +++ b/mail/faces/patches/patch-ae @@ -0,0 +1,32 @@ +--- filters/rs2icon.c 1998/02/25 13:51:18 1.1 ++++ filters/rs2icon.c 1998/02/25 13:51:55 +@@ -21,7 +21,7 @@ + */ + + #include +-#ifdef SYSV32 || hpux ++#if defined(SYSV32) || defined(hpux) + #include + #else + #include +--- filters/ikon2icon.c 1998/02/25 13:51:11 1.1 ++++ filters/ikon2icon.c 1998/02/25 13:57:09 +@@ -13,12 +13,17 @@ + * either to the comments or the code of this program, but if reported + * to me, then an attempt will be made to fix them. + */ ++#include + + #include + + #define PATCHLEVEL 1 + +-#define GETS (void) gets /* To make lint happy. */ ++#if (defined(BSD) && BSD >= 199306) ++#define GETS(s) { (void)fgets(s, sizeof(s), stdin); s[sizeof(s) - 1] = 0; } ++#else ++#define GETS(s) (void) gets(s) /* To make lint happy. */ ++#endif + #define PRINTF (void) printf + #define SPRINTF (void) sprintf + #define SSCANF (void) sscanf -- cgit v1.2.3