summaryrefslogtreecommitdiffstats
path: root/listen
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-02-02 08:27:02 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-07-28 08:35:06 +0200
commit86fac8e428e2ecd922c3e10714ad200f3d26ef06 (patch)
tree5c30b2370f0cc3805f53a481a1fb1def458a323d /listen
parentc501a2aabb47018b6d5f8cdcd7703a19c4300b1d (diff)
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 <ralf@linux-mips.org>
Diffstat (limited to 'listen')
-rw-r--r--listen/listen.c8
1 files changed, 4 insertions, 4 deletions
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)