1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Include jnlib/types.h and remove our own

definitions for byte.u16 and u32.
This commit is contained in:
Werner Koch 2004-04-20 14:16:55 +00:00
parent 74b7ca69f9
commit d70bc68c30
2 changed files with 12 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2004-04-20 Werner Koch <wk@gnupg.org>
* keybox-defs.h: Include jnlib/types.h and remove our own
definitions for byte.u16 and u32.
2004-02-02 Werner Koch <wk@gnupg.org>
* keybox.h (keybox_flag_t): New.

View File

@ -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,20 +28,15 @@
#include <gpg-error.h>
#include <sys/types.h> /* off_t */
/* 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,
BLOBTYPE_HEADER = 1,