mirror of https://github.com/LIJI32/SameBoy.git
Fix -Werror=strict-prototypes
This will be required for upcoming gcc and clang versions. Reference: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
This commit is contained in:
parent
832c7463bc
commit
cbb7e018b8
|
@ -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];
|
||||
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
|
||||
#define TRY_DLOPEN(name) handle = handle? handle : dlopen(name, RTLD_NOW)
|
||||
|
||||
void nop(){}
|
||||
void nop(void){}
|
||||
|
||||
static void wait_mouse_up(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue