aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/util.h9
2 files changed, 4 insertions, 9 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 37cc4f19a..c1c3df077 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-21 Werner Koch <[email protected]>
+
+ * util.h [!HAVE_VASPRINTF]: Removed prototype.
+
2004-10-15 Werner Koch <[email protected]>
* util.h [!HAVE_VASPRINTF]: Add asprintf prototype.
diff --git a/include/util.h b/include/util.h
index a2c65e497..ba493b1be 100644
--- a/include/util.h
+++ b/include/util.h
@@ -245,15 +245,6 @@ int asprintf (char **buf, const char *fmt, ...);
/*-- Replacement functions from funcname.c --*/
-#if !HAVE_VASPRINTF
-int asprintf (char **result, const char *format, ...)
-#if defined (__riscos__) \
- || (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 ))
- __attribute__ ((format (printf,2,3)))
-#endif
- ;
-
-#endif
/******** some macros ************/