summaryrefslogtreecommitdiff
path: root/include/db.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-31 20:42:35 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-31 20:42:35 +0000
commit96389ba8ca82fd1cfdf7ece3fbed17888de6b1be (patch)
tree64185cddd3edede5fed5074607fbfd676a6304da /include/db.h
parent47bf5422e6b3f2f69f9e347adb713fbe8f3b137f (diff)
do not declare int32_t and such locally. pull sys/types.h.
Diffstat (limited to 'include/db.h')
-rw-r--r--include/db.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/include/db.h b/include/db.h
index 5ab191fd2c6..386a6359d95 100644
--- a/include/db.h
+++ b/include/db.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db.h,v 1.5 2002/02/16 21:27:17 millert Exp $ */
+/* $OpenBSD: db.h,v 1.6 2002/05/31 20:42:34 itojun Exp $ */
/* $NetBSD: db.h,v 1.13 1994/10/26 00:55:48 cgd Exp $ */
/*-
@@ -48,22 +48,6 @@
#define RET_SUCCESS 0
#define RET_SPECIAL 1
-#ifndef __BIT_TYPES_DEFINED__
-#define __BIT_TYPES_DEFINED__
-typedef __signed char int8_t;
-typedef unsigned char u_int8_t;
-typedef short int16_t;
-typedef unsigned short u_int16_t;
-typedef int int32_t;
-typedef unsigned int u_int32_t;
-#ifdef WE_DONT_NEED_QUADS
-/* LONGLONG */
-typedef long long int64_t;
-/* LONGLONG */
-typedef unsigned long long u_int64_t;
-#endif
-#endif
-
#define MAX_PAGE_NUMBER 0xffffffff /* >= # of pages in a file */
typedef u_int32_t pgno_t;
#define MAX_PAGE_OFFSET 65535 /* >= # of bytes in a page */