summaryrefslogtreecommitdiffstats
path: root/flash_on.c
diff options
context:
space:
mode:
Diffstat (limited to 'flash_on.c')
-rw-r--r--flash_on.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/flash_on.c b/flash_on.c
index c8952e2..a43f1da 100644
--- a/flash_on.c
+++ b/flash_on.c
@@ -33,8 +33,9 @@
#include <sys/io.h>
#include <unistd.h>
#include <stdio.h>
+#include <stdlib.h>
-main()
+int main()
{
char b;
@@ -71,4 +72,6 @@ main()
outb(0x02, 0x2e);
outb(0x02, 0x2f);
+
+ return(0);
}
OpenPOWER on IntegriCloud