From: Ezra Peisach Date: Sat, 18 May 1996 19:08:50 +0000 (+0000) Subject: * kdb_dbm.c: Do not provide prototypes for dbm_error or X-Git-Tag: krb5-1.0-beta6~68 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1a813ae6f7d501c123fdd3ce748c3b94ba241e8d;p=krb5.git * 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 --- 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