* libltdl/ltdl.c (lt_dlmalloc, lt_dlfree): SunOS' cc can't cope

with argument lists, we __P even in the definition
This commit is contained in:
Alexandre Oliva 1999-02-17 11:56:27 +00:00 committed by Alexandre Oliva
parent f0442e18d9
commit e906347209
2 changed files with 7 additions and 2 deletions

View File

@ -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)

View 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;