Remove __THROW from internal interfaces. __THROW is only need in external
[kopensolaris-gnu/glibc.git] / include / db.h
index 13e9c30..724b5db 100644 (file)
@@ -1,5 +1,13 @@
-#include <db2/db.h>
+#ifndef _DB_H_
+
+#ifdef USE_LIBDB1
+# include <db/db.h>
+#else
+# include <db2/db.h>
 
 /* Internal interface for NSS.  */
-int __nss_db_open __P((const char *,
-                      DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **));
+extern int __nss_db_open (const char *,
+                         DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **);
+#endif
+
+#endif