From c769042f9f699d949f7ad17364e62ae08a4464d2 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Wed, 28 Jun 1995 00:36:57 +0000 Subject: [PATCH] * db.h: *int*_t are likely to collide with native types, and the int8_t and *int64_t are never used anyway, so push them off to hash/configure.in AC_CHECK_TYPE calls. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6175 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/berk_db/include/ChangeLog | 6 ++++++ src/util/berk_db/include/db.h | 16 +--------------- 2 files changed, 7 insertions(+), 15 deletions(-) create mode 100644 src/util/berk_db/include/ChangeLog diff --git a/src/util/berk_db/include/ChangeLog b/src/util/berk_db/include/ChangeLog new file mode 100644 index 000000000..178ddd6c8 --- /dev/null +++ b/src/util/berk_db/include/ChangeLog @@ -0,0 +1,6 @@ +Tue Jun 27 20:49:50 1995 Mark Eichin + + * db.h: *int*_t are likely to collide with native types, + and the int8_t and *int64_t are never used anyway, so push them + off to hash/configure.in AC_CHECK_TYPE calls. + diff --git a/src/util/berk_db/include/db.h b/src/util/berk_db/include/db.h index 47044f076..0325b06b2 100644 --- a/src/util/berk_db/include/db.h +++ b/src/util/berk_db/include/db.h @@ -49,22 +49,8 @@ #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 -typedef long long int64_t; -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; +/* typedef u_int32_t pgno_t; */ #define MAX_PAGE_OFFSET 65535 /* >= # of bytes in a page */ typedef u_int16_t indx_t; #define MAX_REC_NUMBER 0xffffffff /* >= # of records in a tree */ -- 2.26.2