aboutsummaryrefslogtreecommitdiffstats
path: root/common/errors.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-06-04 21:37:56 +0000
committerMarcus Brinkmann <[email protected]>2003-06-04 21:37:56 +0000
commita58ce94d8ef56ef13e33d4171141eb3e6c43bdc6 (patch)
tree6744a58aca08fc2d5da0ac6a145a970b587dc1bd /common/errors.h
parentInadvertently left out of the 2003-06-01 checkin (diff)
downloadgnupg-a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6.tar.gz
gnupg-a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6.zip
Update error handling to match gpg-error in CVS.
Diffstat (limited to 'common/errors.h')
-rw-r--r--common/errors.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/common/errors.h b/common/errors.h
index 143898b04..46cb6c10a 100644
--- a/common/errors.h
+++ b/common/errors.h
@@ -23,11 +23,7 @@
#include "util.h"
-#ifdef GPG_ERR_SOURCE_DEFAULT
-# define GPG_ERR_INVALID_VALUE GPG_ERR_INV_VALUE
-# define GPG_ERR_INVALID_DATA GPG_ERR_INV_DATA
-# define GPG_ERR_INVALID_SEXP GPG_ERR_INV_SEXP
-#else /*GPG_ERR_SOURCE_DEFAUL*/
+#ifndef GPG_ERR_SOURCE_DEFAULT
/* Error numbers. Note, that they are onkly used for old code not yet
converted to libgpg-error. */
enum {