summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1995-06-28 00:36:57 +0000
committerMark Eichin <eichin@mit.edu>1995-06-28 00:36:57 +0000
commitc769042f9f699d949f7ad17364e62ae08a4464d2 (patch)
tree92030896421b9d6f7c9e91474c04b0c81a8d02ff /src
parente2b107dd04c520dad03b27815786408ed8de0fa8 (diff)
downloadkrb5-c769042f9f699d949f7ad17364e62ae08a4464d2.tar.gz
krb5-c769042f9f699d949f7ad17364e62ae08a4464d2.tar.xz
krb5-c769042f9f699d949f7ad17364e62ae08a4464d2.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/util/berk_db/include/ChangeLog6
-rw-r--r--src/util/berk_db/include/db.h16
2 files changed, 7 insertions, 15 deletions
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 <eichin@cygnus.com>
+
+ * 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 */