]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/f77demo/foo.h, tests/f77demo/fooc.c, tests/f77demo/cprogram.c,
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 27 Apr 2005 14:15:54 +0000 (14:15 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 27 Apr 2005 14:15:54 +0000 (14:15 +0000)
tests/mdemo2/main.c, tests/pdemo/foo.h: Make declarations available.

ChangeLog
tests/cdemo/foo.h
tests/f77demo/cprogram.c
tests/f77demo/fooc.c
tests/mdemo2/main.c
tests/pdemo/foo.h

index 7695653ea379025d3c1d8821025090ef286d25f7..e49faa808e8ac801bcb85b8090f8698111373fcc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-04-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * 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 <tim.vanholder@gmail.com>.
index bf3f532fdc8402f5cb0cef1dde9a3df78b33ba7b..f42268a4fc4dff329828cb3f9e895eae7094929d 100644 (file)
@@ -26,4 +26,8 @@ USA. */
 #define HELLO_RET 0xe110
 #define FOO_RET 0xf00
 
+extern int foo();
+
+extern int hello();
+
 #endif /* !_FOO_H_ */
index a74149575b777c87f4f5ec7851d3921806288485..da043e7b76a2f1dc19d2b9063fcf0b2601d5f226 100644 (file)
@@ -15,6 +15,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
 USA. */
 
 #include "foo.h"
+#include <stdio.h>
 
 int
 main(int argc, char **argv)
index eac944d4dd14f8b5958e8e7a10c1d40c14f5aeea..35f3b1c0619294b71312c4c9046ea1122b441a5d 100644 (file)
@@ -1,5 +1,5 @@
 #include "foo.h"
-
+#include <stdio.h>
 
 int csub(int arg)
 {
index fc5093174cc62d62c711fb8d3c2e42713e0cfa4d..aba875551e893592dc799fa0710141990951a713 100644 (file)
@@ -21,6 +21,8 @@ USA. */
 #include <stdio.h>
 #include "ltdl.h"
 
+extern int mlib_func();
+
 int
 main (argc, argv)
   int argc;
index 0ac42ad35742cd6a5b8e2070302189d96080580c..c7dea4dea02663f714ff034b966a2cbc5df72d68 100644 (file)
@@ -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