SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit b3d9404055668a17292673784c0127a48c357aca parent 832c7463bc7ab3713b8b71088ed8872aff272a54 Author: Lior Halphon <LIJI32@gmail.com> Date: Mon, 10 Oct 2022 23:43:24 +0300 Merge pull request #502 from orbea/strict-prototypes Fix -Werror=strict-prototypes Diffstat:
| M | BootROMs/pb12.c | 2 | +- |
| M | OpenDialog/gtk.c | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/BootROMs/pb12.c b/BootROMs/pb12.c @@ -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)); diff --git a/OpenDialog/gtk.c b/OpenDialog/gtk.c @@ -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) {
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.