mirror of https://github.com/LIJI32/SameBoy.git
Merge pull request #502 from orbea/strict-prototypes
Fix -Werror=strict-prototypes
This commit is contained in:
commit
b3d9404055
|
@ -25,7 +25,7 @@ void write_all(int fd, const void *buf, size_t count) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int main()
|
int main(void)
|
||||||
{
|
{
|
||||||
static uint8_t source[0x4000];
|
static uint8_t source[0x4000];
|
||||||
size_t size = read(STDIN_FILENO, &source, sizeof(source));
|
size_t size = read(STDIN_FILENO, &source, sizeof(source));
|
||||||
|
|
|
@ -50,7 +50,7 @@ if (symbol == NULL) symbol = dlsym(handle, #symbol);\
|
||||||
if (symbol == NULL) goto lazy_error
|
if (symbol == NULL) goto lazy_error
|
||||||
#define TRY_DLOPEN(name) handle = handle? handle : dlopen(name, RTLD_NOW)
|
#define TRY_DLOPEN(name) handle = handle? handle : dlopen(name, RTLD_NOW)
|
||||||
|
|
||||||
void nop(){}
|
void nop(void){}
|
||||||
|
|
||||||
static void wait_mouse_up(void)
|
static void wait_mouse_up(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue