Reduce the number of AC_LIBOBJ invocations by 1.
[gnulib.git] / m4 / c-stack.m4
index 9511e8f..3604fa1 100644 (file)
@@ -1,21 +1,9 @@
 # Check prerequisites for compiling lib/c-stack.c.
 
 # Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
 # Written by Paul Eggert.
 
@@ -78,7 +66,7 @@ AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC],
         }
 
         static int
-        c_stack_action (void)
+        c_stack_action ()
         {
           stack_t st;
           struct sigaction act;
@@ -106,7 +94,7 @@ AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC],
         }
 
         int
-        main (void)
+        main ()
         {
           #if HAVE_SETRLIMIT && defined RLIMIT_STACK
           /* Before starting the endless recursion, try to be friendly