X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=util-linux%2Frdate.c;h=f257d54384b93cc1ce34ae5e9ec823f8340d8170;hb=dd8adde3866ac22bd510348b733bb29e1662ac6d;hp=9e7bdba35abe38ac33d929f3239f37cc33a58734;hpb=68404f13d4bf4826e3609703dad5375763db28ab;p=oweals%2Fbusybox.git diff --git a/util-linux/rdate.c b/util-linux/rdate.c index 9e7bdba35..f257d5438 100644 --- a/util-linux/rdate.c +++ b/util-linux/rdate.c @@ -12,7 +12,7 @@ enum { RFC_868_BIAS = 2208988800UL }; -static void socket_timeout(int sig ATTRIBUTE_UNUSED) +static void socket_timeout(int sig UNUSED_PARAM) { bb_error_msg_and_die("timeout connecting to time server"); } @@ -43,7 +43,7 @@ static time_t askremotedate(const char *host) } int rdate_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -int rdate_main(int argc ATTRIBUTE_UNUSED, char **argv) +int rdate_main(int argc UNUSED_PARAM, char **argv) { time_t remote_time; unsigned long flags; @@ -61,7 +61,7 @@ int rdate_main(int argc ATTRIBUTE_UNUSED, char **argv) bb_error_msg("current time matches remote time"); else if (stime(&remote_time) < 0) - bb_perror_msg_and_die("cannot set time of day"); + bb_perror_msg_and_die("can't set time of day"); } if ((flags & 1) == 0)