diff --git a/common/include/common/ivshmem.h b/common/include/common/ivshmem.h index e6a6d197..69d41a90 100644 --- a/common/include/common/ivshmem.h +++ b/common/include/common/ivshmem.h @@ -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); diff --git a/common/include/common/ll.h b/common/include/common/ll.h index 2a4c0c94..924fa3ec 100644 --- a/common/include/common/ll.h +++ b/common/include/common/ll.h @@ -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); diff --git a/common/include/common/sysinfo.h b/common/include/common/sysinfo.h index 566b6d15..b463804c 100644 --- a/common/include/common/sysinfo.h +++ b/common/include/common/sysinfo.h @@ -22,6 +22,6 @@ #define _H_LG_COMMON_SYSUTILS // returns the page size -long sysinfo_getPageSize(); +long sysinfo_getPageSize(void); #endif