]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_dlmalloc, lt_dlfree): SunOS' cc can't cope
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Wed, 17 Feb 1999 11:56:27 +0000 (11:56 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 17 Feb 1999 11:56:27 +0000 (11:56 +0000)
with argument lists, we __P even in the definition

ChangeLog
libltdl/ltdl.c

index c3e24097d2f66ff2928494b0c0835bb878b89613..d7e2c7b316e95ced03d434122f345f093b65bd0a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-02-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * libltdl/ltdl.c (lt_dlmalloc, lt_dlfree): SunOS' cc can't cope
+       with argument lists, we __P even in the definition
+
 1999-02-15  Thomas Tanner  <tanner@gmx.de>
 
        * cdemo/Makefile.am: renamed *foo1 to *foo, removed $(MATH_LIB)
index 5a851a589960f667f50a2a767740106c32fa54ef..fcf060e9bce838dd909cce65f966bc49f23f527e 100644 (file)
@@ -99,8 +99,8 @@ const lt_dlsymlist lt_preloaded_symbols[1] = { { 0, 0 } };
 
 static const char *last_error = 0;
 
-lt_ptr_t (*lt_dlmalloc)(size_t size) = malloc;
-void   (*lt_dlfree)(lt_ptr_t ptr) = free;
+lt_ptr_t (*lt_dlmalloc) __P((size_t size)) = malloc;
+void    (*lt_dlfree)  __P((lt_ptr_t ptr)) = free;
 
 typedef struct lt_dltype_t {
        struct lt_dltype_t *next;