]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.h (lt_dlrealloc): Added declaration.
authorGary V. Vaughan <gary@gnu.org>
Fri, 28 Jan 2000 14:26:40 +0000 (14:26 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 28 Jan 2000 14:26:40 +0000 (14:26 +0000)
* libltdl/ltdl.c (lt_dlrealloc): Added default definition.

ChangeLog
libltdl/ltdl.c
libltdl/ltdl.h

index 0fb8b1f0d485c6f8186c5c6727dbb05eea2d0d8b..c453440c79b395bbd6c5e521f4a1d93ef92bc0ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-01-28  Gary V. Vaughan  <gary@oranda.demon.co.uk>
 
+       * libltdl/ltdl.h (lt_dlrealloc): Added declaration.
+       * libltdl/ltdl.c (lt_dlrealloc): Added default definition.
+       
        * libltdl/ltdl.c (lt_dlseterror): Catch errorcodes below 0 as
        invalid.
        * libltdl/ltdl.h (LTDL_ERROR): Added missing '_' in K&R
index a9bfe3fbaa2fcc06db218b9e7718de5081e4188e..db7e52edb25f0ca9c4ed8b7fafb264ad3f4c7666 100644 (file)
@@ -113,6 +113,7 @@ static const char *ltdl_error_strings[] = {
 static const char *last_error = 0;
 
 LTDL_GLOBAL_DATA lt_ptr_t (*lt_dlmalloc) LTDL_PARAMS((size_t size)) = (lt_ptr_t(*)LTDL_PARAMS((size_t)))malloc;
+LTDL_GLOBAL_DATA lt_ptr_t (*lt_dlrealloc) LTDL_PARAMS((lt_ptr_t ptr, size_t size)) = (lt_ptr_t(*)LTDL_PARAMS((lt_ptr_t, size_t)))realloc;
 LTDL_GLOBAL_DATA void   (*lt_dlfree)  LTDL_PARAMS((lt_ptr_t ptr)) = (void(*)LTDL_PARAMS((lt_ptr_t)))free;
 
 #define LTDL_TYPE_TOP 0
index 8a161e88a72fb8dfeb1948eff057894f5ca80425..dc043764cb3b96d55acebee66aabae5db484e25e 100644 (file)
@@ -207,6 +207,7 @@ extern int lt_dlseterror LTDL_PARAMS((int errorcode));
                                                }LTDL_STMT_END
 
 LTDL_SCOPE lt_ptr_t (*lt_dlmalloc)LTDL_PARAMS((size_t size));
+LTDL_SCOPE lt_ptr_t (*lt_dlrealloc)LTDL_PARAMS((lt_ptr_t ptr, size_t size));
 LTDL_SCOPE void (*lt_dlfree)LTDL_PARAMS((lt_ptr_t ptr));
 
 __END_DECLS