]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Added explicit return type to all C functions.
authorMarkus F.X.J. Oberhumer <markus@oberhumer.com>
Sat, 3 Mar 2001 21:41:29 +0000 (21:41 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 3 Mar 2001 21:41:29 +0000 (21:41 +0000)
ChangeLog
libtool.m4

index 63bcdac380f93fcc36f2640d225b9ad3404150e5..49621b9e05ea202397c22bd7ac2f01f64822a68f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-03  Markus F.X.J. Oberhumer <markus@oberhumer.com>,
+           Alexandre Oliva <oliva@lsd.ic.unicamp.br>
+
+       * libtool.m4: Added explicit return type to all C functions.
+
 2001-02-22  Gary Vaughan  <gvv@techie.com>
 
        * NEWS: Updated.
index 4c8ee51bce603170dd0bff5b95bf85f0c301eb81..1e925ae76ccfc3af3add6473ac2a9c52d3e711dc 100644 (file)
@@ -1,5 +1,6 @@
 ## libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
-## Copyright 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+## Copyright 1996, 1997, 1998, 1999, 2000, 2001
+## Free Software Foundation, Inc.
 ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 ##
 ## This program is free software; you can redistribute it and/or modify
@@ -231,7 +232,7 @@ void nm_test_func(){}
 #ifdef __cplusplus
 }
 #endif
-main(){nm_test_var='a';nm_test_func();return(0);}
+int main(){nm_test_var='a';nm_test_func();return(0);}
 EOF
 
   if AC_TRY_EVAL(ac_compile); then
@@ -557,8 +558,8 @@ else
 extern "C" void exit (int);
 #endif
 
-fnord() { int i=42;}
-main ()
+void fnord() { int i=42;}
+int main ()
 {
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   int status = $lt_dlunknown;