aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-10-25 18:00:28 +0000
committerWerner Koch <[email protected]>2003-10-25 18:00:28 +0000
commit687f7c7e7f9a90c85f0b6cec6b01df5cd61f8682 (patch)
treee84151cfc6792ecd271c35102d898d816999d716
parentInclude stdio.h for snprintf (diff)
downloadlibgpg-error-687f7c7e7f9a90c85f0b6cec6b01df5cd61f8682.tar.gz
libgpg-error-687f7c7e7f9a90c85f0b6cec6b01df5cd61f8682.zip
Fixed last fix:
Include stdio.h for snprintf prototype. Suggested by [email protected], fixes #gnupg/214.
-rw-r--r--ChangeLog2
-rw-r--r--src/gpg-error.h1
-rw-r--r--src/strerror.c1
3 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e13f617..de269bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
2003-10-25 Werner Koch <[email protected]>
- * src/gpg-error.h: Include stdio.h for snprintf
+ * src/strerror.c: Include stdio.h for snprintf
prototype. Suggested by [email protected], fixes #gnupg/214.
2003-10-11 Moritz Schulte <[email protected]>
diff --git a/src/gpg-error.h b/src/gpg-error.h
index 6fbb095..5f92564 100644
--- a/src/gpg-error.h
+++ b/src/gpg-error.h
@@ -22,7 +22,6 @@
#define GPG_ERROR_H 1
#include <stddef.h>
-#include <stdio.h>
#ifdef __GNUC__
#define GPG_ERR_INLINE __inline__
diff --git a/src/strerror.c b/src/strerror.c
index dd6a6b3..410c4ab 100644
--- a/src/strerror.c
+++ b/src/strerror.c
@@ -23,6 +23,7 @@
#endif
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
#include <errno.h>