[common] allow building with -Wstrict-prototypes

This commit is contained in:
Tudor Brindus 2022-02-20 11:44:13 -05:00 committed by Geoffrey McRae
parent eeefc15e46
commit 38340d3497
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);

View File

@ -22,6 +22,6 @@
#define _H_LG_COMMON_SYSUTILS
// returns the page size
long sysinfo_getPageSize();
long sysinfo_getPageSize(void);
#endif