SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 6edc35804c13b56be5ab991b61e74865f5db5887 parent e79f2c1764a4010d7845c6656b03acc21be166bb Author: Lior Halphon <LIJI32@gmail.com> Date: Thu, 29 Feb 2024 11:02:24 +0200 Merge pull request #591 from orbea/missing-prototypes pb12: silence -Wmissing-prototypes warnings Diffstat:
| M | BootROMs/pb12.c | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/BootROMs/pb12.c b/BootROMs/pb12.c @@ -5,7 +5,7 @@ #include <unistd.h> #include <assert.h> -void opts(uint8_t byte, uint8_t *options) +static void opts(uint8_t byte, uint8_t *options) { *(options++) = byte | ((byte << 1) & 0xff); *(options++) = byte & (byte << 1); @@ -13,7 +13,7 @@ void opts(uint8_t byte, uint8_t *options) *(options++) = byte & (byte >> 1); } -void write_all(int fd, const void *buf, size_t count) { +static void write_all(int fd, const void *buf, size_t count) { while (count) { ssize_t written = write(fd, buf, count); if (written < 0) {
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.