Added void to function signatures, in order to fix Clang's -Wstrict-prototypes

This commit is contained in:
Naman Dixit 2020-06-25 11:39:40 +05:30
parent 94acbce822
commit d4a67ab8d5
1 changed files with 2 additions and 2 deletions

View File

@ -13,12 +13,12 @@ extern "C" {
typedef void* cothread_t;
cothread_t co_active();
cothread_t co_active(void);
cothread_t co_derive(void*, unsigned int, void (*)(void));
cothread_t co_create(unsigned int, void (*)(void));
void co_delete(cothread_t);
void co_switch(cothread_t);
int co_serializable();
int co_serializable(void);
#ifdef __cplusplus
}