summaryrefslogtreecommitdiffstats
path: root/bin/date/date.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-10-18 14:48:48 +0000
committermarkm <markm@FreeBSD.org>2002-10-18 14:48:48 +0000
commitbede8be9eb8dd9075967e4774c7ee2e33cc80151 (patch)
tree42519a12b660878d45d12e092fb35bf74b73a9a0 /bin/date/date.c
parentbde9100ebef64e6a6d3f1efe2a2f4a1a2b6cd123 (diff)
downloadFreeBSD-src-bede8be9eb8dd9075967e4774c7ee2e33cc80151.zip
FreeBSD-src-bede8be9eb8dd9075967e4774c7ee2e33cc80151.tar.gz
Staticify for lint.
Diffstat (limited to 'bin/date/date.c')
-rw-r--r--bin/date/date.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/date/date.c b/bin/date/date.c
index a8fa441..d825631 100644
--- a/bin/date/date.c
+++ b/bin/date/date.c
@@ -65,7 +65,7 @@ __FBSDID("$FreeBSD$");
#define TM_YEAR_BASE 1900
#endif
-time_t tval;
+static time_t tval;
int retval;
static void setthetime(const char *, const char *, int, int);
@@ -179,7 +179,7 @@ main(int argc, char *argv[])
#define ATOI2(s) ((s) += 2, ((s)[-2] - '0') * 10 + ((s)[-1] - '0'))
-void
+static void
setthetime(const char *fmt, const char *p, int jflag, int nflag)
{
struct tm *lt;
OpenPOWER on IntegriCloud