summaryrefslogtreecommitdiff
path: root/lolcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lolcat.c')
-rw-r--r--lolcat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lolcat.c b/lolcat.c
index d9a040a..8e13da7 100644
--- a/lolcat.c
+++ b/lolcat.c
@@ -52,7 +52,7 @@ static char helpstr[] = "\n"
#define ARRAY_SIZE(foo) (sizeof(foo) / sizeof(foo[0]))
const unsigned char codes[] = { 39, 38, 44, 43, 49, 48, 84, 83, 119, 118, 154, 148, 184, 178, 214, 208, 209, 203, 204, 198, 199, 163, 164, 128, 129, 93, 99, 63, 69, 33 };
-void find_escape_sequences(wint_t c, int* state)
+static void find_escape_sequences(wint_t c, int* state)
{
if (c == '\033') { /* Escape sequence YAY */
*state = 1;
@@ -64,13 +64,13 @@ void find_escape_sequences(wint_t c, int* state)
}
}
-void usage()
+static void usage(void)
{
wprintf(L"Usage: lolcat [-h horizontal_speed] [-v vertical_speed] [--] [FILES...]\n");
exit(1);
}
-void version()
+static void version(void)
{
wprintf(L"lolcat version 0.1, (c) 2014 jaseg\n");
exit(0);