mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +00:00
[host] build with -Wstrict-prototypes
This commit is contained in:

committed by
Geoffrey McRae

parent
91d6e3a82a
commit
eeefc15e46
@@ -79,7 +79,7 @@ typedef HRESULT (*D3D12GetDebugInterface_t)(
|
||||
void **ppvDebug
|
||||
);
|
||||
|
||||
static void d3d12_free();
|
||||
static void d3d12_free(void);
|
||||
|
||||
static bool d3d12_create(struct DXGIInterface * intf)
|
||||
{
|
||||
|
@@ -57,8 +57,8 @@ static struct DXGICopyBackend * backends[] = {
|
||||
|
||||
// forwards
|
||||
|
||||
static bool dxgi_deinit();
|
||||
static CaptureResult dxgi_releaseFrame();
|
||||
static bool dxgi_deinit(void);
|
||||
static CaptureResult dxgi_releaseFrame(void);
|
||||
|
||||
// implementation
|
||||
|
||||
|
@@ -48,8 +48,8 @@ enum DiffMapBlockSize
|
||||
DIFFMAP_BLOCKSIZE_64X64
|
||||
};
|
||||
|
||||
bool NvFBCInit();
|
||||
void NvFBCFree();
|
||||
bool NvFBCInit(void);
|
||||
void NvFBCFree(void);
|
||||
|
||||
bool NvFBCToSysCreate(
|
||||
int adapterIndex,
|
||||
@@ -95,4 +95,4 @@ CaptureResult NvFBCToSysGetCursor(NvFBCHandle handle, CapturePointer * pointer,
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user