mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-21 20:45:30 +02:00
Merge pull request #18 from namandixit/clang-signature-warning
Fix Clang's -Wstrict-prototypes warning
This commit is contained in:
4
libco.h
4
libco.h
@@ -13,12 +13,12 @@ extern "C" {
|
|||||||
|
|
||||||
typedef void* cothread_t;
|
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_derive(void*, unsigned int, void (*)(void));
|
||||||
cothread_t co_create(unsigned int, void (*)(void));
|
cothread_t co_create(unsigned int, void (*)(void));
|
||||||
void co_delete(cothread_t);
|
void co_delete(cothread_t);
|
||||||
void co_switch(cothread_t);
|
void co_switch(cothread_t);
|
||||||
int co_serializable();
|
int co_serializable(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user