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

index e2f333b49e84296b8fbbf9d43ef8e2c6e5687c15..f1d1f5acc021f53ecc00dedefe9c0876ef82e6e7 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>
+
+       * ltconfig.in: Added explicit return type to all C functions.
+
 2001-01-29  Alexandre Oliva  <aoliva@redhat.com>
 
        * libltdl/Makefile.am (CLEANFILES): Clean conditionally-built
index cfa10dbe0f38d8125b590c6be5282091e2cce155..45d8fb25050f68e7feab9ac978c08386fd348f91 100755 (executable)
@@ -1665,7 +1665,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
 
   echo "$progname:@LINENO@: checking if global_symbol_pipe works" >&5
@@ -2638,8 +2638,9 @@ else
 # endif
 #endif
 
-fnord() { int i=42;}
-main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
+void fnord() { int i=42; }
+int main() {
+    void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
     if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
               if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); } 
 
@@ -2711,8 +2712,9 @@ else
 # endif
 #endif
 
-fnord() { int i=42;}
-main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
+void fnord() { int i=42;}
+int main() {
+    void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
     if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
     if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); }