[host] build with -Wstrict-prototypes

This commit is contained in:
Tudor Brindus authored and Geoffrey McRae committed 2022-02-25 20:38:44 +11:00
1 parent 91d6e3a82a
commit eeefc15e46
8 files changed
+18 -17

No files matched your search

+8 -8
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);
}