summaryrefslogtreecommitdiffstats
path: root/usr.bin/at
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-04-25 22:37:58 +0000
committerimp <imp@FreeBSD.org>1999-04-25 22:37:58 +0000
commit22f901a57c1958698d9cecf2b40a9fc0fd04f786 (patch)
tree4db883c020b4df70cb765924c2f0a2d0680f4620 /usr.bin/at
parentd12a7ef464b342d4fca0ef83535cf75b401d3f38 (diff)
downloadFreeBSD-src-22f901a57c1958698d9cecf2b40a9fc0fd04f786.zip
FreeBSD-src-22f901a57c1958698d9cecf2b40a9fc0fd04f786.tar.gz
More egcs warning fixes:
o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int o #ifdef 0 -> #if 0 Reviewed by: obrien and chuckr
Diffstat (limited to 'usr.bin/at')
-rw-r--r--usr.bin/at/at.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c
index 3264d55..d21dfd3 100644
--- a/usr.bin/at/at.c
+++ b/usr.bin/at/at.c
@@ -92,12 +92,12 @@ enum { ATQ, ATRM, AT, BATCH, CAT }; /* what program we want to run */
/* File scope variables */
-static const char rcsid[] = "$Id: at.c,v 1.14 1998/10/15 13:30:48 mckay Exp $";
+static const char rcsid[] = "$Id: at.c,v 1.15 1998/12/06 07:42:09 archie Exp $";
char *no_export[] =
{
"TERM", "TERMCAP", "DISPLAY", "_"
} ;
-static send_mail = 0;
+static int send_mail = 0;
/* External variables */
OpenPOWER on IntegriCloud