summaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2003-11-13 20:15:38 +0100
committerWerner Koch <wk@gnupg.org>2003-11-13 20:15:38 +0100
commit9b32497c7e78d362e2be2a9c0dff1a589c725594 (patch)
tree92f6e907affcba9f4c029c6e90d4eac90a01e46b /common/util.h
parent(vasprintf): ARGS should not be a pointer. Fixed (diff)
downloadgnupg2-9b32497c7e78d362e2be2a9c0dff1a589c725594.tar.xz
gnupg2-9b32497c7e78d362e2be2a9c0dff1a589c725594.zip
(vasprintf): Also fixed the prototype.
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h2
1 files changed, 1 insertions, 1 deletions
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