From 1def93dfbed095320d8e5b17edbcf2b031fc438c Mon Sep 17 00:00:00 2001 From: itojun <> Date: Fri, 31 May 2002 20:42:34 +0000 Subject: [PATCH] do not declare int32_t and such locally. pull sys/types.h. --- src/include/db.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/include/db.h b/src/include/db.h index 5ab191fd..386a6359 100644 --- a/src/include/db.h +++ b/src/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 */