mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[common] allow building with -Wstrict-prototypes
This commit is contained in:
parent
eeefc15e46
commit
38340d3497
@ -33,7 +33,7 @@ struct IVSHMEM
|
||||
void * opaque;
|
||||
};
|
||||
|
||||
void ivshmemOptionsInit();
|
||||
void ivshmemOptionsInit(void);
|
||||
bool ivshmemInit(struct IVSHMEM * dev);
|
||||
bool ivshmemOpen(struct IVSHMEM * dev);
|
||||
bool ivshmemOpenDev(struct IVSHMEM * dev, const char * shmDev);
|
||||
|
@ -40,7 +40,7 @@ struct ll
|
||||
LG_Lock lock;
|
||||
};
|
||||
|
||||
struct ll * ll_new();
|
||||
struct ll * ll_new(void);
|
||||
void ll_free (struct ll * list);
|
||||
void ll_push (struct ll * list, void * data);
|
||||
bool ll_shift (struct ll * list, void ** data);
|
||||
|
@ -22,6 +22,6 @@
|
||||
#define _H_LG_COMMON_SYSUTILS
|
||||
|
||||
// returns the page size
|
||||
long sysinfo_getPageSize();
|
||||
long sysinfo_getPageSize(void);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user