Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/util-linux/rdate.c
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/util-linux/rdate.c
r1765 r2725 6 6 * by Sterling Huxley <sterling@europa.com> 7 7 * 8 * Licensed under GPL v2 or later, see file License for details.8 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 9 9 */ 10 10 … … 13 13 enum { RFC_868_BIAS = 2208988800UL }; 14 14 15 static void socket_timeout(int sig )15 static void socket_timeout(int sig UNUSED_PARAM) 16 16 { 17 17 bb_error_msg_and_die("timeout connecting to time server"); … … 43 43 } 44 44 45 int rdate_main(int argc, char **argv) ;46 int rdate_main(int argc , char **argv)45 int rdate_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 46 int rdate_main(int argc UNUSED_PARAM, char **argv) 47 47 { 48 48 time_t remote_time; … … 62 62 else 63 63 if (stime(&remote_time) < 0) 64 bb_perror_msg_and_die("can not set time of day");64 bb_perror_msg_and_die("can't set time of day"); 65 65 } 66 66
Note:
See TracChangeset
for help on using the changeset viewer.