]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(xalloc_die): Declare to be `extern', not `static'
authorJim Meyering <jim@meyering.net>
Fri, 24 Sep 2004 06:34:43 +0000 (06:34 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 24 Sep 2004 06:34:43 +0000 (06:34 +0000)
to avoid a warning from gcc-3.4.1.  Reported by Paul Eggert.

src/csplit.c

index 21a8f487a6468021046d39d6c52798b8eee3384a..4bc75e283df6aae36d50959c433910966dadb895 100644 (file)
@@ -227,7 +227,7 @@ cleanup_fatal (void)
   exit (EXIT_FAILURE);
 }
 
-static void
+extern void
 xalloc_die (void)
 {
   error (0, 0, "%s", _("memory exhausted"));