Date: Sun, 6 Nov 2011 08:18:35 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r227197 - head/usr.bin/uuencode Message-ID: <201111060818.pA68IZFl009674@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Sun Nov 6 08:18:35 2011 New Revision: 227197 URL: http://svn.freebsd.org/changeset/base/227197 Log: Add missing static keywords to uuencode(1) Modified: head/usr.bin/uuencode/uuencode.c Modified: head/usr.bin/uuencode/uuencode.c ============================================================================== --- head/usr.bin/uuencode/uuencode.c Sun Nov 6 08:18:30 2011 (r227196) +++ head/usr.bin/uuencode/uuencode.c Sun Nov 6 08:18:35 2011 (r227197) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111060818.pA68IZFl009674>