Remove __THROW from internal interfaces. __THROW is only need in external
[kopensolaris-gnu/glibc.git] / include / db.h
index 64c7348..724b5db 100644 (file)
@@ -1,9 +1,13 @@
 #ifndef _DB_H_
 
-#include <db2/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