From 55efcca7b67aba6d8b9575575ed622dbc08e10d7 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Sat, 3 Mar 2001 21:41:29 +0000 Subject: [PATCH] * libtool.m4: Added explicit return type to all C functions. --- ChangeLog | 5 +++++ libtool.m4 | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 63bcdac38..49621b9e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-03-03 Markus F.X.J. Oberhumer , + Alexandre Oliva + + * libtool.m4: Added explicit return type to all C functions. + 2001-02-22 Gary Vaughan * NEWS: Updated. diff --git a/libtool.m4 b/libtool.m4 index 4c8ee51bc..1e925ae76 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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 , 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; -- 2.47.3