From 1a813ae6f7d501c123fdd3ce748c3b94ba241e8d Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sat, 18 May 1996 19:08:50 +0000 Subject: [PATCH] * kdb_dbm.c: Do not provide prototypes for dbm_error or dbm_clearerr if they are really macros. Required for Ultrix... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8048 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kdb/ChangeLog | 5 +++++ src/lib/kdb/kdb_dbm.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/kdb/ChangeLog b/src/lib/kdb/ChangeLog index 2ad7a3928..e21b75b79 100644 --- a/src/lib/kdb/ChangeLog +++ b/src/lib/kdb/ChangeLog @@ -1,3 +1,8 @@ +Sat May 18 15:07:09 1996 Ezra Peisach (epeisach@paris) + + * kdb_dbm.c: Do not provide prototypes for dbm_error or + dbm_clearerr if they are really macros. + Tue May 7 19:48:57 1996 Ezra Peisach * t_kdb.c (do_testing): Compile if using BERK_DB and dbm is not diff --git a/src/lib/kdb/kdb_dbm.c b/src/lib/kdb/kdb_dbm.c index dcef39b95..e93865f73 100644 --- a/src/lib/kdb/kdb_dbm.c +++ b/src/lib/kdb/kdb_dbm.c @@ -99,10 +99,10 @@ static kdb5_dispatch_table kdb5_default_dispatch = { * dbm_clearerr are in the library but not prototyped * (e.g. NetBSD-1.0) */ -#ifdef MISSING_ERROR_PROTO +#if defined(MISSING_ERROR_PROTO) && !defined(dbm_error) int dbm_error PROTOTYPE((DBM *)); #endif -#ifdef MISSING_CLEARERR_PROTO +#if defined(MISSING_CLEARERR_PROTO) && !defined(dbm_clearerr) int dbm_clearerr PROTOTYPE((DBM *)); #endif -- 2.26.2