Make cin be static
[oweals/busybox.git] / rdate.c
diff --git a/rdate.c b/rdate.c
index 03f7f2de3c55950ce03c54fbba99c7ce6006fc1e..954982ae958a2b68ec93a34ef6a2a7740c75b8c6 100644 (file)
--- a/rdate.c
+++ b/rdate.c
@@ -33,7 +33,7 @@
 #include <getopt.h>
 
 
-#define RFC_868_BIAS   2208988800UL
+static const int RFC_868_BIAS = 2208988800UL;
 
 int setdate= 0;
 int printdate= 0;
@@ -126,7 +126,7 @@ int rdate_main(int argc, char **argv)
                        perror_msg_and_die("Could not set time of day");
        }
        if (printdate) {
-               fprintf(stdout, "%s", ctime(&time));
+               printf("%s", ctime(&time));
        }
 
        return EXIT_SUCCESS;