From b7b07d36e89ce30b2cf4774ed0e36d2403777bab Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 5 Jun 2003 07:14:21 +0000 Subject: 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.) --- include/errors.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'include/errors.h') 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*/ -- cgit v1.2.3