buf.append("extern EXTERNC int fopen(const char[], const char[]);\n"); buf.append("extern EXTERNC int fscanf(int, const char[], ...);\n");
buf.append("extern EXTERNC FILE* fopen(const char[], const char[]);\n"); buf.append("extern EXTERNC int fscanf(FILE*, const char[], ...);\n");
    protected String getExterns()     {	StringBuffer buf = new StringBuffer();		buf.append("#define EXTERNC \n\n");	// RMR { added 'const' to avoid prototype conflicts	buf.append("extern EXTERNC int printf(const char[], ...);\n");	buf.append("extern EXTERNC int fprintf(int, const char[], ...);\n");	buf.append("extern EXTERNC int fopen(const char[], const char[]);\n");	buf.append("extern EXTERNC int fscanf(int, const char[], ...);\n");	// } RMR	buf.append("extern EXTERNC float acosf(float);\n"); 	buf.append("extern EXTERNC float asinf(float);\n"); 	buf.append("extern EXTERNC float atanf(float);\n"); 	buf.append("extern EXTERNC float atan2f(float, float);\n"); 	buf.append("extern EXTERNC float ceilf(float);\n"); 	buf.append("extern EXTERNC float cosf(float);\n"); 	buf.append("extern EXTERNC float sinf(float);\n"); 	buf.append("extern EXTERNC float coshf(float);\n"); 	buf.append("extern EXTERNC float sinhf(float);\n"); 	buf.append("extern EXTERNC float expf(float);\n"); 	buf.append("extern EXTERNC float fabsf(float);\n"); 	buf.append("extern EXTERNC float modff(float, float *);\n"); 	buf.append("extern EXTERNC float fmodf(float, float);\n"); 	buf.append("extern EXTERNC float frexpf(float, int *);\n"); 	buf.append("extern EXTERNC float floorf(float);\n"); 	     	buf.append("extern EXTERNC float logf(float);\n"); 	buf.append("extern EXTERNC float log10f(float, int);\n"); 	buf.append("extern EXTERNC float powf(float, float);\n"); 	buf.append("extern EXTERNC float rintf(float);\n"); 	buf.append("extern EXTERNC float sqrtf(float);\n"); 	buf.append("extern EXTERNC float tanhf(float);\n"); 	buf.append("extern EXTERNC float tanf(float);\n");	return buf.toString();    }