view libao2/audio_plugin_internal.h @ 13803:0bd7ccf63c54

Declare a prototype for the function before it is used. Otherwise some compiler versions will "optimize" them away, and linking will fail.
author mosu
date Sat, 30 Oct 2004 08:42:25 +0000
parents 12b1790038b0
children
line wrap: on
line source

// prototypes:
static int control(int cmd, void *arg);
static int init();
static void uninit();
static void reset();
static int play();

#define LIBAO_PLUGIN_EXTERN(x) ao_plugin_functions_t audio_plugin_##x =\
{\
	&info,\
	control,\
	init,\
        uninit,\
	reset,\
	play,\
};