From: Alexandre Oliva Date: Wed, 17 Feb 1999 11:56:27 +0000 (+0000) Subject: * libltdl/ltdl.c (lt_dlmalloc, lt_dlfree): SunOS' cc can't cope X-Git-Tag: release-1-2f~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e906347209583a62897258ffba868f0f4e4b0353;p=thirdparty%2Flibtool.git * libltdl/ltdl.c (lt_dlmalloc, lt_dlfree): SunOS' cc can't cope with argument lists, we __P even in the definition --- diff --git a/ChangeLog b/ChangeLog index c3e24097d..d7e2c7b31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-02-17 Alexandre Oliva + + * 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 * cdemo/Makefile.am: renamed *foo1 to *foo, removed $(MATH_LIB) diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index 5a851a589..fcf060e9b 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -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;