From 36a4ad74d8c88e5d7111e9898d9e81b2a74f8db3 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 13 Feb 1998 21:15:20 +0000 Subject: [PATCH] * db-int.h: Additional renaming git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10441 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/db2/include/ChangeLog | 2 ++ src/util/db2/include/db-int.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/util/db2/include/ChangeLog b/src/util/db2/include/ChangeLog index c3441611f..4d3d16d24 100644 --- a/src/util/db2/include/ChangeLog +++ b/src/util/db2/include/ChangeLog @@ -1,5 +1,7 @@ Fri Feb 13 14:39:25 1998 Tom Yu + * db-int.h: Additional renaming. + * db.h: Rename dbopen to avoid collision with NetBSD libc. * db-ndbm.h: Rename lots of functions to avoid collisions with diff --git a/src/util/db2/include/db-int.h b/src/util/db2/include/db-int.h index 7c3fc1d08..93ba40be3 100644 --- a/src/util/db2/include/db-int.h +++ b/src/util/db2/include/db-int.h @@ -135,7 +135,11 @@ typedef u_int32_t recno_t; /* open functions for each database type, used in dbopen() */ +#define __bt_open __kdb2_bt_open #define __hash_open __kdb2_hash_open +#define __rec_open __kdb2_rec_open +#define __dbpanic __kdb2_dbpanic + DB *__bt_open __P((const char *, int, int, const BTREEINFO *, int)); DB *__hash_open __P((const char *, int, int, const HASHINFO *, int)); DB *__rec_open __P((const char *, int, int, const RECNOINFO *, int)); -- 2.26.2