From e906347209583a62897258ffba868f0f4e4b0353 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Wed, 17 Feb 1999 11:56:27 +0000 Subject: [PATCH] * libltdl/ltdl.c (lt_dlmalloc, lt_dlfree): SunOS' cc can't cope with argument lists, we __P even in the definition --- ChangeLog | 5 +++++ libltdl/ltdl.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c3e24097..d7e2c7b3 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 5a851a58..fcf060e9 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;