From: Jim Meyering Date: Fri, 24 Sep 2004 06:34:43 +0000 (+0000) Subject: (xalloc_die): Declare to be `extern', not `static' X-Git-Tag: v5.3.0~606 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b838f64c8f472f6c0396fa1b236dbe571b2144c;p=thirdparty%2Fcoreutils.git (xalloc_die): Declare to be `extern', not `static' to avoid a warning from gcc-3.4.1. Reported by Paul Eggert. --- diff --git a/src/csplit.c b/src/csplit.c index 21a8f487a6..4bc75e283d 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -227,7 +227,7 @@ cleanup_fatal (void) exit (EXIT_FAILURE); } -static void +extern void xalloc_die (void) { error (0, 0, "%s", _("memory exhausted"));