summaryrefslogtreecommitdiff
path: root/usr/src/lib/libnisdb/db_headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libnisdb/db_headers.h')
-rw-r--r--usr/src/lib/libnisdb/db_headers.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/usr/src/lib/libnisdb/db_headers.h b/usr/src/lib/libnisdb/db_headers.h
index 9f53e96863..0707b0c8f9 100644
--- a/usr/src/lib/libnisdb/db_headers.h
+++ b/usr/src/lib/libnisdb/db_headers.h
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -22,12 +21,10 @@
/*
* db_headers.h
*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifndef _DB_HEADERS_H
#define _DB_HEADERS_H
@@ -36,7 +33,16 @@
#include <stdlib.h>
#include <setjmp.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int verbose;
+
+#ifdef __cplusplus
+}
+#endif
+
extern jmp_buf dbenv;
#define FATAL(msg, fcode) \