summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/at/Makefile3
-rw-r--r--usr.bin/at/at.c2
-rw-r--r--usr.bin/at/panic.c3
-rw-r--r--usr.bin/at/parsetime.c5
-rw-r--r--usr.bin/at/perm.c2
5 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/at/Makefile b/usr.bin/at/Makefile
index 55d78b9..393af83 100644
--- a/usr.bin/at/Makefile
+++ b/usr.bin/at/Makefile
@@ -1,8 +1,9 @@
-# $Id: Makefile,v 1.7 1998/06/09 04:07:08 imp Exp $
+# $Id: Makefile,v 1.8 1998/09/19 22:42:03 obrien Exp $
.include "${.CURDIR}/Makefile.inc"
PROG= at
+CFLAGS+=-Wall
SRCS= at.c panic.c parsetime.c perm.c
LINKS= ${BINDIR}/at ${BINDIR}/atq \
${BINDIR}/at ${BINDIR}/atrm \
diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c
index daded16..3264d55 100644
--- a/usr.bin/at/at.c
+++ b/usr.bin/at/at.c
@@ -92,7 +92,7 @@ enum { ATQ, ATRM, AT, BATCH, CAT }; /* what program we want to run */
/* File scope variables */
-static char rcsid[] = "$Id: at.c,v 1.13 1997/03/29 04:27:56 imp Exp $";
+static const char rcsid[] = "$Id: at.c,v 1.14 1998/10/15 13:30:48 mckay Exp $";
char *no_export[] =
{
"TERM", "TERMCAP", "DISPLAY", "_"
diff --git a/usr.bin/at/panic.c b/usr.bin/at/panic.c
index 7ef0e15d..c111dd8 100644
--- a/usr.bin/at/panic.c
+++ b/usr.bin/at/panic.c
@@ -37,7 +37,8 @@
/* File scope variables */
-static char rcsid[] = "$Id: panic.c,v 1.6 1997/02/22 19:54:06 peter Exp $";
+static const char rcsid[] =
+ "$Id: panic.c,v 1.7 1997/06/23 06:44:18 charnier Exp $";
/* External variables */
diff --git a/usr.bin/at/parsetime.c b/usr.bin/at/parsetime.c
index 8ba6a14..8cde1dc 100644
--- a/usr.bin/at/parsetime.c
+++ b/usr.bin/at/parsetime.c
@@ -143,7 +143,8 @@ static size_t sc_len; /* scanner - lenght of token buffer */
static int sc_tokid; /* scanner - token id */
static int sc_tokplur; /* scanner - is token plural? */
-static char rcsid[] = "$Id: parsetime.c,v 1.14 1998/08/08 14:02:06 alex Exp $";
+static const char rcsid[] =
+ "$Id: parsetime.c,v 1.15 1998/08/30 17:33:05 steve Exp $";
/* Local functions */
@@ -464,7 +465,7 @@ static void
month(struct tm *tm)
{
long year= (-1);
- long mday, wday, mon;
+ long mday = 0, wday, mon;
int tlen;
switch (sc_tokid) {
diff --git a/usr.bin/at/perm.c b/usr.bin/at/perm.c
index d52fd3d..f1d4352 100644
--- a/usr.bin/at/perm.c
+++ b/usr.bin/at/perm.c
@@ -48,7 +48,7 @@
/* File scope variables */
-static char rcsid[] = "$Id$";
+static const char rcsid[] = "$Id: perm.c,v 1.5 1997/02/22 19:54:08 peter Exp $";
/* Function declarations */
OpenPOWER on IntegriCloud