#include <exec/types.h>
#include <dos/dos.h>
#include <inline/dos.h>
/* LONG FPrintf( BPTR fh, STRPTR format, ... ); */
LONG FPrintf(BPTR fh, STRPTR fmt, LONG tag1,...)
{
	return(VFPrintf(fh, fmt, (LONG *) &tag1));
}

/* LONG Printf( STRPTR format, ... ); */
LONG Printf(STRPTR fmt, LONG tag1,...)
{
	return(VPrintf(fmt, (LONG *) &tag1));
}

/* LONG VFWritef( BPTR fh, STRPTR format, ... ); */
VOID FWritef(BPTR fh, STRPTR fmt, LONG tag1, ...)
{
	VFWritef(fh, fmt, (LONG *) &tag1);
}


/* LONG EasyRequest( struct Window *window, struct EasyStruct *easyStruct,
	ULONG *idcmpPtr, ... );
struct Window *BuildEasyRequest( struct Window *window,
	struct EasyStruct *easyStruct, unsigned long idcmp, ... );
ULONG DoGadgetMethod( struct Gadget *gad, struct Window *win,
	struct Requester *req, unsigned long MethodID, ... );
void SetWindowPointer( struct Window *win, unsigned long tag1, ... );
ULONG CallHook( struct Hook *hookPtr, Object *obj, ... );
ULONG DoMethod( Object *obj, unsigned long MethodID, ... );
ULONG DoSuperMethod( struct IClass *cl, Object *obj, unsigned long MethodID,
	... );
ULONG CoerceMethod( struct IClass *cl, Object *obj, unsigned long MethodID,
	... );

LONG printf( STRPTR fmt, ... );
#define printf Printf
LONG fclose( long stream );
#define fclose Close
LONG fgetc( long stream );
#define fgetc FGetC
LONG fprintf( long stream, STRPTR fmt, ... );
#define fprintf FPrintf
LONG fputc( long c, long stream );
#define fputc FPutC
LONG fputs( UBYTE *s, long stream );
#define fputs FPuts
LONG getchar( void );
#define getchar(x) FGetC(Input())
LONG putchar( long c );
#define putchar(x) FPutC(Output())
LONG puts( BYTE *s );
#define puts(x) FPuts(Output(),x);
*/