about summary refs log tree commit diff
path: root/main.c
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-23 14:52:26 +0100
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-23 14:53:53 +0100
commit77a99cf59ba35f27871cd6127e0786f3ff8c285d (patch)
treef0bdb67a76269c5a8f735a5fdaef5a3a71b5a78e /main.c
parentFeature: Implemented various instructions (diff)
downloadCHIP8-Emulator-77a99cf59ba35f27871cd6127e0786f3ff8c285d.tar.gz
CHIP8-Emulator-77a99cf59ba35f27871cd6127e0786f3ff8c285d.tar.bz2
CHIP8-Emulator-77a99cf59ba35f27871cd6127e0786f3ff8c285d.zip
Feature: Implemented various instructions and added a few roms
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 6bde0e1..e6f6cf1 100644
--- a/main.c
+++ b/main.c
@@ -2,7 +2,7 @@
 #include <SDL.h>
 
 int main(int argc, char** argv);
-void show_help();
+static void show_help();
 
 int main(int argc, char** argv)
 {
@@ -89,7 +89,7 @@ int main(int argc, char** argv)
     return 0;
 }
 
-void show_help()
+static void show_help()
 {
     printf("BAD USAGE! -> ./chip8_emulator [ROM]\n");
 }