*** db185/db185.c 2001/04/10 20:43:53 11.18 --- db185/db185.c 2001/07/30 14:12:47 *************** *** 40,47 **** --- 40,52 ---- /* * EXTERN: #define dbopen __db185_open + * EXTERN: #ifdef _DB185_INT_H_ * EXTERN: DB185 *__db185_open * EXTERN: __P((const char *, int, int, DBTYPE, const void *)); + * EXTERN: #else + * EXTERN: DB *__db185_open + * EXTERN: __P((const char *, int, int, DBTYPE, const void *)); + * EXTERN: #endif */ DB185 * __db185_open(file, oflags, mode, type, openinfo) *** db185/db185_int.in 2001/04/10 20:43:54 11.9 --- db185/db185_int.in 2001/07/30 14:12:47 *************** *** 39,46 **** * $Id: patch.3.3.11.1,v 1.1 2003/01/10 13:43:30 mao Exp $ */ ! #ifndef _DB_185_H_ ! #define _DB_185_H_ /* Routine flags. */ #define R_CURSOR 1 /* del, put, seq */ --- 39,46 ---- * $Id: patch.3.3.11.1,v 1.1 2003/01/10 13:43:30 mao Exp $ */ ! #ifndef _DB185_INT_H_ ! #define _DB185_INT_H_ /* Routine flags. */ #define R_CURSOR 1 /* del, put, seq */ *** include_auto/db185_ext.in 2001/04/10 20:44:20 1.1 --- include_auto/db185_ext.in 2001/07/30 14:12:48 *************** *** 3,11 **** extern "C" { #endif #define dbopen __db185_open DB185 *__db185_open __P((const char *, int, int, DBTYPE, const void *)); #if defined(__cplusplus) } #endif ! #endif /* !_DB_185_H_ */ --- 3,15 ---- extern "C" { #endif #define dbopen __db185_open + #ifdef _DB185_INT_H_ DB185 *__db185_open __P((const char *, int, int, DBTYPE, const void *)); + #else + DB *__db185_open __P((const char *, int, int, DBTYPE, const void *)); + #endif #if defined(__cplusplus) } #endif ! #endif /* _DB_185_H_ or _DB185_INT_H_ */ *** include_auto/db185_uext.in 2001/04/10 20:44:20 1.1 --- include_auto/db185_uext.in 2001/07/30 14:12:48 *************** *** 3,12 **** extern "C" { #endif #define dbopen __db185_open@DB_VERSION_UNIQUE_NAME@ #define __db185_open __db185_open@DB_VERSION_UNIQUE_NAME@ DB185 *__db185_open __P((const char *, int, int, DBTYPE, const void *)); #if defined(__cplusplus) } #endif ! #endif /* !_DB_185_H_ */ --- 3,17 ---- extern "C" { #endif #define dbopen __db185_open@DB_VERSION_UNIQUE_NAME@ + #ifdef _DB185_INT_H_ #define __db185_open __db185_open@DB_VERSION_UNIQUE_NAME@ DB185 *__db185_open __P((const char *, int, int, DBTYPE, const void *)); + #else + #define __db185_open __db185_open@DB_VERSION_UNIQUE_NAME@ + DB *__db185_open __P((const char *, int, int, DBTYPE, const void *)); + #endif #if defined(__cplusplus) } #endif ! #endif /* _DB_185_H_ or _DB185_INT_H_ */