From c894751ee0cdaf26430928ca5462bafa9813a7b2 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Sat, 26 Jun 1999 04:36:48 +0000 Subject: [PATCH] fix the "ANSI C forbids an empty source file" warning. of course this introduce the "defined but not used" warning. I'll fix that when later. --- dbm/src/memmove.c | 3 +++ dbm/src/snprintf.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dbm/src/memmove.c b/dbm/src/memmove.c index 8a1942f7734..c4f9ff02efc 100644 --- a/dbm/src/memmove.c +++ b/dbm/src/memmove.c @@ -145,3 +145,6 @@ done: #endif } #endif /* no __sgi */ + +/* Some compilers don't like an empty source file. */ +static int dummy = 0; diff --git a/dbm/src/snprintf.c b/dbm/src/snprintf.c index 57ebfbfdd5d..5c30bd3f82f 100644 --- a/dbm/src/snprintf.c +++ b/dbm/src/snprintf.c @@ -68,3 +68,6 @@ vsnprintf(str, n, fmt, ap) } #endif /* HAVE_SNPRINTF */ + +/* Some compilers don't like an empty source file. */ +static int dummy;