From 9b32497c7e78d362e2be2a9c0dff1a589c725594 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 13 Nov 2003 19:15:38 +0000 Subject: (vasprintf): Also fixed the prototype. --- common/ChangeLog | 2 ++ common/util.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/ChangeLog b/common/ChangeLog index 1c63b5248..afc48367c 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,5 +1,7 @@ 2003-11-13 Werner Koch + * util.h (vasprintf): Also fixed the prototype. + * vasprintf.c (vasprintf): ARGS should not be a pointer. Fixed segv on Solaris. Reported by Andrew J. Schorr. diff --git a/common/util.h b/common/util.h index 987c8dfe8..e38ced337 100644 --- a/common/util.h +++ b/common/util.h @@ -112,7 +112,7 @@ int is_file_compressed (const char *s, int *ret_rc); /*-- replacement functions from funcname.c --*/ #if !HAVE_VASPRINTF #include -int vasprintf (char **result, const char *format, va_list *args); +int vasprintf (char **result, const char *format, va_list args); int asprintf (char **result, const char *format, ...); #endif -- cgit v1.2.3