summaryrefslogtreecommitdiffstats
path: root/morse
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-12 08:04:05 +0000
committerdholland <dholland@NetBSD.org>2009-08-12 08:04:05 +0000
commit8916e2056e90ba2c157dfd2b98fb48837d565646 (patch)
treef7b2cd85d32a6cdf7e2f0343e90fc0b8880d6d11 /morse
parentc10b9a8ce82ad7b4b287ccc5b5b576ab961aa488 (diff)
downloadbsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.tar.gz
bsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.tar.zst
bsdgames-darwin-8916e2056e90ba2c157dfd2b98fb48837d565646.zip
sprinkle static
Diffstat (limited to 'morse')
-rw-r--r--morse/morse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/morse/morse.c b/morse/morse.c
index e6c6ea6d..70cbe4d1 100644
--- a/morse/morse.c
+++ b/morse/morse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: morse.c,v 1.15 2008/07/20 01:03:21 lukem Exp $ */
+/* $NetBSD: morse.c,v 1.16 2009/08/12 08:11:37 dholland Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\
#if 0
static char sccsid[] = "@(#)morse.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: morse.c,v 1.15 2008/07/20 01:03:21 lukem Exp $");
+__RCSID("$NetBSD: morse.c,v 1.16 2009/08/12 08:11:37 dholland Exp $");
#endif
#endif /* not lint */
@@ -91,7 +91,7 @@ static const char
"--..",
};
-const struct punc {
+static const struct punc {
char c;
const char *morse;
} other[] = {
@@ -111,9 +111,9 @@ const struct punc {
};
int main(int, char *[]);
-void morse(int);
-void decode(const char *);
-void show(const char *);
+static void morse(int);
+static void decode(const char *);
+static void show(const char *);
static int sflag;
static int dflag;