diff options
| author | Werner Koch <[email protected]> | 2015-12-12 12:57:19 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2015-12-12 13:06:30 +0000 |
| commit | f0ae40b0c901e5f5c04c6ed5b2ab96ab7340b2bd (patch) | |
| tree | 62029595b10924dbb5dc437d008264590e2a7611 /common/types.h | |
| parent | gpg: Fix buffer overflow. (diff) | |
| download | gnupg-f0ae40b0c901e5f5c04c6ed5b2ab96ab7340b2bd.tar.gz gnupg-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 <[email protected]>
Diffstat (limited to 'common/types.h')
| -rw-r--r-- | common/types.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/common/types.h b/common/types.h index 2bb817faf..0767a27b8 100644 --- a/common/types.h +++ b/common/types.h @@ -113,14 +113,4 @@ # define HAVE_U32_TYPEDEF #endif - -/* Some GCC attributes. These are replacements for libgpg-error < 1.20. */ -#ifndef GPGRT_GCC_VERSION -# if __GNUC__ >= 4 -# define GPGRT_ATTR_SENTINEL(a) __attribute__ ((sentinel(a))) -# else -# define GPGRT_ATTR_SENTINEL(a) -# endif -#endif - #endif /*GNUPG_COMMON_TYPES_H*/ |
