aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/modules/disk.c')
-rw-r--r--com32/modules/disk.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/com32/modules/disk.c b/com32/modules/disk.c
index db7f93c2..ca4b5988 100644
--- a/com32/modules/disk.c
+++ b/com32/modules/disk.c
@@ -19,13 +19,14 @@
#include <disk/errno_disk.h>
#include <disk/error.h>
-int main(int argc __attribute__ (( unused )),
- char *argv[] __attribute__ (( unused )))
+int main(int argc, char *argv[])
{
- int err;
struct driveinfo drive;
struct driveinfo *d = &drive;
+ (void)argc;
+ (void)argv;
+
openconsole(&dev_null_r, &dev_stdcon_w);
for (int disk = 0x80; disk < 0xff; disk++) {