[common] allow building 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 eeefc15e46
commit 38340d3497
3 files changed
+3 -3

No files matched your search

+1 -1
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);
+1 -1
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);
+1 -1
View File
@@ -22,6 +22,6 @@
#define _H_LG_COMMON_SYSUTILS
// returns the page size
long sysinfo_getPageSize();
long sysinfo_getPageSize(void);
#endif