From eb3e48b1e62194087622aeeff0accb371bd45ae3 Mon Sep 17 00:00:00 2001 From: hjp Date: Thu, 10 Feb 2000 00:17:35 +0000 Subject: [PATCH] Shut up gcc --- scat/scat.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/scat/scat.c b/scat/scat.c index 05ca921..1deabed 100644 --- a/scat/scat.c +++ b/scat/scat.c @@ -1,12 +1,15 @@ char scat_c_cvs_version[] = - "$Id: scat.c,v 1.2 1999-08-01 18:09:09 hjp Exp $"; + "$Id: scat.c,v 1.3 2000-02-10 00:17:35 hjp Exp $"; /* scat - safe cat * * catenate input files and print to standard output. * replace all non-printable characters with C \xXX escapes. * * $Log: scat.c,v $ - * Revision 1.2 1999-08-01 18:09:09 hjp + * Revision 1.3 2000-02-10 00:17:35 hjp + * Shut up gcc + * + * Revision 1.2 1999/08/01 18:09:09 hjp * First release * */ @@ -25,7 +28,7 @@ char scat_c_cvs_version[] = char *cmnd; nl_catd catalog; -void usage(void) { +static void usage(void) { fprintf(stderr, catgets(catalog, MSG_Set, MSG_USAGE, "Usage: %s [file ...]\n"), @@ -34,7 +37,7 @@ void usage(void) { } -void do_safecat(const char *filename) { +static void do_safecat(const char *filename) { FILE *fp; int c;