From: Ralf Wildenhues Date: Wed, 27 Apr 2005 14:15:54 +0000 (+0000) Subject: * tests/f77demo/foo.h, tests/f77demo/fooc.c, tests/f77demo/cprogram.c, X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64ac3ca7663334f8dbe83072c79563c330086fe3;p=thirdparty%2Flibtool.git * tests/f77demo/foo.h, tests/f77demo/fooc.c, tests/f77demo/cprogram.c, tests/mdemo2/main.c, tests/pdemo/foo.h: Make declarations available. --- diff --git a/ChangeLog b/ChangeLog index 7695653ea..e49faa808 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-04-27 Ralf Wildenhues + * tests/f77demo/foo.h, tests/f77demo/fooc.c, tests/f77demo/cprogram.c, + tests/mdemo2/main.c, tests/pdemo/foo.h: Make declarations available. + * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: sed 3.02 does not understand \t in regex. Reported by Tim Van Holder . diff --git a/tests/cdemo/foo.h b/tests/cdemo/foo.h index bf3f532fd..f42268a4f 100644 --- a/tests/cdemo/foo.h +++ b/tests/cdemo/foo.h @@ -26,4 +26,8 @@ USA. */ #define HELLO_RET 0xe110 #define FOO_RET 0xf00 +extern int foo(); + +extern int hello(); + #endif /* !_FOO_H_ */ diff --git a/tests/f77demo/cprogram.c b/tests/f77demo/cprogram.c index a74149575..da043e7b7 100644 --- a/tests/f77demo/cprogram.c +++ b/tests/f77demo/cprogram.c @@ -15,6 +15,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "foo.h" +#include int main(int argc, char **argv) diff --git a/tests/f77demo/fooc.c b/tests/f77demo/fooc.c index eac944d4d..35f3b1c06 100644 --- a/tests/f77demo/fooc.c +++ b/tests/f77demo/fooc.c @@ -1,5 +1,5 @@ #include "foo.h" - +#include int csub(int arg) { diff --git a/tests/mdemo2/main.c b/tests/mdemo2/main.c index fc5093174..aba875551 100644 --- a/tests/mdemo2/main.c +++ b/tests/mdemo2/main.c @@ -21,6 +21,8 @@ USA. */ #include #include "ltdl.h" +extern int mlib_func(); + int main (argc, argv) int argc; diff --git a/tests/pdemo/foo.h b/tests/pdemo/foo.h index 0ac42ad35..c7dea4dea 100644 --- a/tests/pdemo/foo.h +++ b/tests/pdemo/foo.h @@ -83,6 +83,7 @@ USA. */ /* Declarations. Note the wonderful use of the above macros. */ __BEGIN_DECLS int foo LT_PARAMS((void)); +int foo2 LT_PARAMS((void)); int hello LT_PARAMS((void)); EXTERN int nothing; __END_DECLS