summaryrefslogtreecommitdiffstats
path: root/common/t-stringhelp.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-12-12 13:57:19 +0100
committerWerner Koch <wk@gnupg.org>2015-12-12 14:06:30 +0100
commitf0ae40b0c901e5f5c04c6ed5b2ab96ab7340b2bd (patch)
tree62029595b10924dbb5dc437d008264590e2a7611 /common/t-stringhelp.c
parentgpg: Fix buffer overflow. (diff)
downloadgnupg2-f0ae40b0c901e5f5c04c6ed5b2ab96ab7340b2bd.tar.xz
gnupg2-f0ae40b0c901e5f5c04c6ed5b2ab96ab7340b2bd.zip
Remove replacements for libgpg-error < 1.21.
* common/util.h: Remove replacement macros for libgpg-error<1.21. * common/types.h: Ditto. * common/mischelp.h: Ditto. * common/t-mapstrings.c: Include t-support.h before stringhelp.h * common/t-stringhelp.c: Ditto. * common/t-support.h: Always include gpg-error.h. * kbx/keybox-search.c: Do not include stringhelp.h so that keybox-defs comes first. -- This patch enhances commit d6e0149 from Dec 10. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'common/t-stringhelp.c')
-rw-r--r--common/t-stringhelp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/t-stringhelp.c b/common/t-stringhelp.c
index 9e5410bbe..e97b64a6e 100644
--- a/common/t-stringhelp.c
+++ b/common/t-stringhelp.c
@@ -40,9 +40,8 @@
#include <unistd.h>
#include <sys/types.h>
-#include "stringhelp.h"
-
#include "t-support.h"
+#include "stringhelp.h"
static char *home_buffer;