summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-06 08:18:35 +0000
committered <ed@FreeBSD.org>2011-11-06 08:18:35 +0000
commitc18674114044373fe17da017f45a4a0273325cbd (patch)
treeeda04ffb76ee7625e06150fe1b68e63866175cf3 /usr.bin
parent25b4fbd02b913d2e9be2275196d4d3254751ba4b (diff)
downloadFreeBSD-src-c18674114044373fe17da017f45a4a0273325cbd.zip
FreeBSD-src-c18674114044373fe17da017f45a4a0273325cbd.tar.gz
Add missing static keywords to uuencode(1)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/uuencode/uuencode.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/uuencode/uuencode.c b/usr.bin/uuencode/uuencode.c
index 44db968..def8bcc 100644
--- a/usr.bin/uuencode/uuencode.c
+++ b/usr.bin/uuencode/uuencode.c
@@ -60,13 +60,13 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
-void encode(void);
-void base64_encode(void);
+static void encode(void);
+static void base64_encode(void);
static void usage(void);
-FILE *output;
-int mode;
-char **av;
+static FILE *output;
+static int mode;
+static char **av;
int
main(int argc, char *argv[])
@@ -138,7 +138,7 @@ main(int argc, char *argv[])
/*
* Copy from in to out, encoding in base64 as you go along.
*/
-void
+static void
base64_encode(void)
{
/*
@@ -168,7 +168,7 @@ base64_encode(void)
/*
* Copy from in to out, encoding as you go along.
*/
-void
+static void
encode(void)
{
register int ch, n;
OpenPOWER on IntegriCloud