[host] build with -Wstrict-prototypes

This commit is contained in:
Tudor Brindus
2022-02-20 11:43:36 -05:00
committed by Geoffrey McRae
parent 91d6e3a82a
commit eeefc15e46
8 changed files with 18 additions and 17 deletions

View File

@@ -96,21 +96,21 @@ typedef struct CaptureInterface
{
const char * shortName;
const bool asyncCapture;
const char * (*getName )();
void (*initOptions )();
const char * (*getName )(void);
void (*initOptions )(void);
bool(*create)(
CaptureGetPointerBuffer getPointerBufferFn,
CapturePostPointerBuffer postPointerBufferFn
);
bool (*init )();
bool (*start )();
void (*stop )();
bool (*deinit )();
void (*free )();
bool (*init )(void);
bool (*start )(void);
void (*stop )(void);
bool (*deinit )(void);
void (*free )(void);
CaptureResult (*capture )();
CaptureResult (*capture )(void);
CaptureResult (*waitFrame )(CaptureFrame * frame, const size_t maxFrameSize);
CaptureResult (*getFrame )(FrameBuffer * frame, const unsigned int height, int frameIndex);
}