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