The ripper entry points are consumed from C++ code. Wrap the public
declarations and the compiled search entry point in C linkage so names
match across C and C++ builds.
extern Uchar CONVERT;
extern Uchar Amiga_EXE_Header;
+#ifdef __cplusplus
+extern "C" {
+#endif
extern void pw_write_log (const char *, ...);
extern FILE *moduleripper2_fopen (const char *name, const char *mode, const char *aid, int addr, int size);
extern FILE *moduleripper_fopen (const char *aname, const char *amode);
-
+#ifdef __cplusplus
+}
+#endif
#if 0
int main ( int ac , char **av )
#else
+#ifdef __cplusplus
+extern "C"
+#endif
int prowizard_search (Uchar *in_data_p, int PW_in_size_p)
#endif
{