diff options
author | Werner Koch <wk@gnupg.org> | 2003-06-05 09:14:21 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2003-06-05 09:14:21 +0200 |
commit | b7b07d36e89ce30b2cf4774ed0e36d2403777bab (patch) | |
tree | cb0cd2ecfa92a13b98ba03fd41909498e59cabf2 /include | |
parent | This commit was manufactured by cvs2svn to create branch (diff) | |
download | gnupg2-b7b07d36e89ce30b2cf4774ed0e36d2403777bab.tar.xz gnupg2-b7b07d36e89ce30b2cf4774ed0e36d2403777bab.zip |
A small step for GnuPG but a huge leap for error codes.
(Sorry, it does not build currently - I need to check it in to avoid
duplicate work.)
Diffstat (limited to 'include')
-rw-r--r-- | include/errors.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/errors.h b/include/errors.h index 0dde0f9b5..8e1de0f16 100644 --- a/include/errors.h +++ b/include/errors.h @@ -17,8 +17,13 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#ifndef G10_ERRORS_H -#define G10_ERRORS_H +#ifndef GNUPG_INCLUDE_ERRORS_H +#define GNUPG_INCLUDE_ERRORS_H + +#if 0 +#error Remove this file after replacing all error codes with those +#error from libgpg-error. The numerical values are identical, though. +#endif #define G10ERR_GENERAL 1 #define G10ERR_UNKNOWN_PACKET 2 @@ -81,4 +86,4 @@ char *strerror( int n ); #endif -#endif /*G10_ERRORS_H*/ +#endif /*GNUPG_INCLUDE_ERRORS_H*/ |