diff options
author | Werner Koch <wk@gnupg.org> | 2004-04-20 16:16:55 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-04-20 16:16:55 +0200 |
commit | d70bc68c307a36d673fc911b9bea92e28cf7396f (patch) | |
tree | c14c915405fa2fbf2f8770e816a559aa4476a108 /kbx/keybox-defs.h | |
parent | Remove the fopencookie test. We don't need the (diff) | |
download | gnupg2-d70bc68c307a36d673fc911b9bea92e28cf7396f.tar.xz gnupg2-d70bc68c307a36d673fc911b9bea92e28cf7396f.zip |
Include jnlib/types.h and remove our own
definitions for byte.u16 and u32.
Diffstat (limited to 'kbx/keybox-defs.h')
-rw-r--r-- | kbx/keybox-defs.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/kbx/keybox-defs.h b/kbx/keybox-defs.h index 17431502f..d7e132d6b 100644 --- a/kbx/keybox-defs.h +++ b/kbx/keybox-defs.h @@ -1,5 +1,5 @@ /* keybox-defs.h - interal Keybox defintions - * Copyright (C) 2001 Free Software Foundation, Inc. + * Copyright (C) 2001, 2004 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -28,19 +28,14 @@ #include <gpg-error.h> #include <sys/types.h> /* off_t */ -#include "keybox.h" +/* We include the type defintions from jnlib instead of defining our + owns here. This will not allow us build KBX in a standalone way + but tehre is currently no need for it anyway. */ +#include "../jnlib/types.h" +#include "keybox.h" -#ifndef HAVE_BYTE_TYPEDEF -typedef unsigned char byte; /* fixme */ -#endif -#ifndef HAVE_U16_TYPEDEF -typedef unsigned short u16; /* fixme */ -#endif -#ifndef HAVE_U32_TYPEDEF -typedef unsigned int u32; /* fixme */ -#endif enum { BLOBTYPE_EMPTY = 0, |