]> git.armaanb.net Git - bin.git/blobdiff - morse.c
Fix small man issues
[bin.git] / morse.c
diff --git a/morse.c b/morse.c
index 5f3f58941b3d13377ef7539adf2ade624a63747a..eb0bd8ee4f3c7db0609a6bba37b19ab4657bfcbc 100644 (file)
--- a/morse.c
+++ b/morse.c
@@ -7,14 +7,17 @@
 #include <stdlib.h>
 #include <unistd.h>
 
-const char *aa[] = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l",
-       "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "1",
-       "2", "3", "4", "5", "6", "7", "8", "9", "0", " "};
+const char *aa[] = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j",
+                                                                               "k", "l", "m", "n", "o", "p", "q", "r", "s", "t",
+                                                                               "u", "v", "w", "x", "y", "z", "1", "2", "3", "4",
+                                                                               "5", "6", "7", "8", "9", "0", " "};
 
-const char *ma[] = {"•-", "-•••", "-•-•", "-••", "•", "••-•", "--•", "••••",
-       "••", "•---", "-•-", "•-••", "--", "-•", "---", "•--•", "--•-", "•-•", "•••",
-       "-", "•--", "•••-", "•--", "-••-", "-•--", "--••", "•----", "••---", "•••--",
-       "••••-", "•••••", "-••••", "--•••", "---••", "----•", "-----", "   "};
+const char *ma[] = {"•-", "-•••", "-•-•", "-••", "•", "••-•", "--•",
+                                                                               "••••", "••", "•---", "-•-", "•-••", "--", "-•",
+                                                                               "---", "•--•", "--•-", "•-•", "•••", "-", "•--",
+                                                                               "•••-", "•--", "-••-", "-•--", "--••", "•----",
+                                                                               "••---", "•••--", "••••-", "•••••", "-••••",
+                                                                               "--•••", "---••", "----•", "-----", " "};
 
 void
 convert(char *c)
@@ -38,6 +41,7 @@ convert(char *c)
 int
 main(int argc, char **argv)
 {
+       (void)argc;
        char c[2];
        c[1] = '\0';