Lines 135-148
Link Here
|
135 |
#endif |
135 |
#endif |
136 |
|
136 |
|
137 |
#ifdef SERVER_SHUTDOWN |
137 |
#ifdef SERVER_SHUTDOWN |
138 |
extern "C" { |
138 |
//extern "C" { |
139 |
typedef struct dbf { |
139 |
typedef struct dbf { |
140 |
struct dbf *dbf_next; |
140 |
struct dbf *dbf_next; |
141 |
USHORT dbf_length; |
141 |
USHORT dbf_length; |
142 |
TEXT dbf_data[2]; |
142 |
TEXT dbf_data[2]; |
143 |
} *DBF; |
143 |
} *DBF; |
144 |
|
144 |
|
145 |
} // extern "C" |
145 |
//} // extern "C" |
146 |
|
146 |
|
147 |
#include "../jrd/sort.h" |
147 |
#include "../jrd/sort.h" |
148 |
#endif /* SERVER_SHUTDOWN */ |
148 |
#endif /* SERVER_SHUTDOWN */ |
Lines 159-167
Link Here
|
159 |
/*TMN: fwd. decl. SHOULD BE IN A HEADER FILE*/ |
159 |
/*TMN: fwd. decl. SHOULD BE IN A HEADER FILE*/ |
160 |
void ALL_print_memory_pool_info(IB_FILE * fptr, DBB databases); |
160 |
void ALL_print_memory_pool_info(IB_FILE * fptr, DBB databases); |
161 |
void ALLD_print_memory_pool_info(IB_FILE * fptr); |
161 |
void ALLD_print_memory_pool_info(IB_FILE * fptr); |
162 |
extern "C" { |
162 |
//extern "C" { |
163 |
void gds_print_delta_counters(IB_FILE *); |
163 |
void gds_print_delta_counters(IB_FILE *); |
164 |
} // extern "C" |
164 |
//} // extern "C" |
165 |
|
165 |
|
166 |
#endif /* SUPERSERVER */ |
166 |
#endif /* SUPERSERVER */ |
167 |
|
167 |
|
Lines 201-210
Link Here
|
201 |
|
201 |
|
202 |
#ifdef SUPERSERVER |
202 |
#ifdef SUPERSERVER |
203 |
|
203 |
|
204 |
extern "C" { |
204 |
//extern "C" { |
205 |
extern SLONG trace_pools; |
205 |
extern SLONG trace_pools; |
206 |
static REC_MUTX_T databases_rec_mutex; |
206 |
static REC_MUTX_T databases_rec_mutex; |
207 |
} // extern "C" |
207 |
//} // extern "C" |
208 |
|
208 |
|
209 |
// BRS. 03/23/2003 |
209 |
// BRS. 03/23/2003 |
210 |
// Those empty defines was substituted with #if defined(V4_THREADING) && !defined(SUPERSERVER) |
210 |
// Those empty defines was substituted with #if defined(V4_THREADING) && !defined(SUPERSERVER) |
Lines 289-295
Link Here
|
289 |
return TRUE; |
289 |
return TRUE; |
290 |
} |
290 |
} |
291 |
|
291 |
|
292 |
extern "C" { |
292 |
//extern "C" { |
293 |
|
293 |
|
294 |
|
294 |
|
295 |
#ifdef WIN_NT |
295 |
#ifdef WIN_NT |
Lines 592-601
Link Here
|
592 |
|
592 |
|
593 |
|
593 |
|
594 |
#ifdef SHLIB_DEFS |
594 |
#ifdef SHLIB_DEFS |
595 |
} // extern "C" |
595 |
//} // extern "C" |
596 |
/** Use shdef.h which has all shared lib defs **/ |
596 |
/** Use shdef.h which has all shared lib defs **/ |
597 |
#include "shdef.h" |
597 |
#include "shdef.h" |
598 |
extern "C" { |
598 |
//extern "C" { |
599 |
#endif |
599 |
#endif |
600 |
|
600 |
|
601 |
|
601 |
|
Lines 6620-6623
Link Here
|
6620 |
return true; |
6620 |
return true; |
6621 |
} |
6621 |
} |
6622 |
|
6622 |
|
6623 |
} // extern "C" |
6623 |
//} // extern "C" |