mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-03 11:17:10 +00:00
[common] allow building with -Wstrict-prototypes
This commit is contained in:
parent
eeefc15e46
commit
38340d3497
3 changed files with 3 additions and 3 deletions
|
@ -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 a new issue