summaryrefslogtreecommitdiff
path: root/util-linux/rdate.c
diff options
context:
space:
mode:
authorEric Andersen2001-03-09 21:24:12 +0000
committerEric Andersen2001-03-09 21:24:12 +0000
commit3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332 (patch)
treec9e6d3d695cbb2449132428a32fb6c309aad870f /util-linux/rdate.c
parentdd91724aa089e344d0f05e40a338dcce481c1845 (diff)
downloadbusybox-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.zip
busybox-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.tar.gz
A cleanup patch from Jeff Garzik to static-ify a number of
namespace polluting things that really should be static.
Diffstat (limited to 'util-linux/rdate.c')
-rw-r--r--util-linux/rdate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/rdate.c b/util-linux/rdate.c
index ed7121a..28e8732 100644
--- a/util-linux/rdate.c
+++ b/util-linux/rdate.c
@@ -39,10 +39,10 @@
static const int RFC_868_BIAS = 2208988800UL;
-int setdate= 0;
-int printdate= 0;
+static int setdate= 0;
+static int printdate= 0;
-time_t askremotedate(char *host)
+static time_t askremotedate(char *host)
{
struct hostent *h;
struct sockaddr_in sin;