Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/db/btree protect against multiple inclusions.



details:   https://anonhg.NetBSD.org/src/rev/96b87cbdd904
branches:  trunk
changeset: 500928:96b87cbdd904
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 20 20:54:01 2000 +0000

description:
protect against multiple inclusions.

diffstat:

 lib/libc/db/btree/extern.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 393e97e3a8e3 -r 96b87cbdd904 lib/libc/db/btree/extern.h
--- a/lib/libc/db/btree/extern.h        Wed Dec 20 20:52:50 2000 +0000
+++ b/lib/libc/db/btree/extern.h        Wed Dec 20 20:54:01 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extern.h,v 1.6 1996/05/03 21:51:01 cgd Exp $   */
+/*     $NetBSD: extern.h,v 1.7 2000/12/20 20:54:01 christos Exp $      */
 
 /*-
  * Copyright (c) 1991, 1993, 1994
@@ -35,6 +35,8 @@
  *     @(#)extern.h    8.10 (Berkeley) 7/20/94
  */
 
+#ifndef _BTREE_EXTERN_H_
+#define _BTREE_EXTERN_H_
 int     __bt_close __P((DB *));
 int     __bt_cmp __P((BTREE *, const DBT *, EPG *));
 int     __bt_crsrdel __P((BTREE *, EPGNO *));
@@ -70,3 +72,4 @@
 #ifdef STATISTICS
 void    __bt_stat __P((DB *));
 #endif
+#endif /* _BTREE_EXTERN_H_ */



Home | Main Index | Thread Index | Old Index