From d0108627b5a3988f0c838a0ba0858d1c961c2e82 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sun, 22 Apr 2007 16:00:34 +0200 Subject: [PATCH] protect db4 logging prototypes in common/extern.h --- common/vi_auto.c | 6 ++++++ common/vi_rec.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/common/vi_auto.c b/common/vi_auto.c index 79d8971f..e6faf9f2 100644 --- a/common/vi_auto.c +++ b/common/vi_auto.c @@ -16,6 +16,9 @@ #include "rep.h" #include "txn.h" /* + * PUBLIC: #ifdef USE_DB4_LOGGING + */ +/* * PUBLIC: int __vi_marker_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, * PUBLIC: u_int32_t)); */ @@ -800,3 +803,6 @@ __vi_init_recover(dbenv) return (ret); return (0); } +/* + * PUBLIC: #endif + */ diff --git a/common/vi_rec.c b/common/vi_rec.c index 9b27157f..cf89cd7e 100644 --- a/common/vi_rec.c +++ b/common/vi_rec.c @@ -17,6 +17,9 @@ #define LOG_CURSOR_HIT -1000 /* + * PUBLIC: #ifdef USE_DB4_LOGGING + */ +/* * __vi_marker_recover -- * Recovery function for marker. * @@ -313,3 +316,6 @@ vi_db_init_recover(DB_ENV *dbenv) return 0; } +/* + * PUBLIC: #endif + */ -- 2.11.4.GIT