diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-09 21:24:12 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-09 21:24:12 +0000 |
commit | 3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332 (patch) | |
tree | c9e6d3d695cbb2449132428a32fb6c309aad870f /rdate.c | |
parent | dd91724aa089e344d0f05e40a338dcce481c1845 (diff) | |
download | busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.tar.gz busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.tar.bz2 busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.zip |
A cleanup patch from Jeff Garzik to static-ify a number of
namespace polluting things that really should be static.
Diffstat (limited to 'rdate.c')
-rw-r--r-- | rdate.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -39,10 +39,10 @@ | |||
39 | 39 | ||
40 | static const int RFC_868_BIAS = 2208988800UL; | 40 | static const int RFC_868_BIAS = 2208988800UL; |
41 | 41 | ||
42 | int setdate= 0; | 42 | static int setdate= 0; |
43 | int printdate= 0; | 43 | static int printdate= 0; |
44 | 44 | ||
45 | time_t askremotedate(char *host) | 45 | static time_t askremotedate(char *host) |
46 | { | 46 | { |
47 | struct hostent *h; | 47 | struct hostent *h; |
48 | struct sockaddr_in sin; | 48 | struct sockaddr_in sin; |