From 86fac8e428e2ecd922c3e10714ad200f3d26ef06 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 2 Feb 2017 08:27:02 +0100 Subject: listen: Remove all uses of register keyword. Compilers are ignoring it for over a quarter century. Time to catch up! Signed-off-by: Ralf Baechle --- listen/listen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'listen/listen.c') diff --git a/listen/listen.c b/listen/listen.c index 0b33fb2..77d36fb 100644 --- a/listen/listen.c +++ b/listen/listen.c @@ -79,9 +79,9 @@ static char * ts_format(unsigned int sec, unsigned int usec) /* * Print the timestamp */ -static void ts_print(register const struct timeval *tvp) +static void ts_print(const struct timeval *tvp) { - register int s; + int s; struct tm *tm; time_t Time; static unsigned b_sec; @@ -152,8 +152,8 @@ void display_timestamp(void) static int32_t gmt2local(time_t t) { - register int dt, dir; - register struct tm *gmt, *loc; + int dt, dir; + struct tm *gmt, *loc; struct tm sgmt; if (t == 0) -- cgit v1.2.3