From 2e0104b5eed766253df2c9b2eddddd9c1794d033 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Wed, 27 Dec 2023 18:38:05 +0300 Subject: [PATCH] reverse-ramdisk.c: resolve -Wstrict-prototypes --- c-programming/reverse-ramdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-programming/reverse-ramdisk.c b/c-programming/reverse-ramdisk.c index 3756ae9..8a2c512 100644 --- a/c-programming/reverse-ramdisk.c +++ b/c-programming/reverse-ramdisk.c @@ -191,7 +191,7 @@ int tf_read(int ID, size_t offset, void* dest, size_t data_size) { } while (0) #ifdef TEST -int main() { +int main(void) { int ID = tf_alloc(4, sizeof(int)); if (ID == -1) retreat("tf_alloc");