aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/ChangeLog2
-rw-r--r--common/util.h2
2 files changed, 3 insertions, 1 deletions
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 <[email protected]>
+ * 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 <stdarg.h>
-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