From fa325e9b42b0bdfb48857d1958d9fb7ceac55151 Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 10 Jan 2020 14:44:21 +0000 Subject: Trivial changes: whitespace and modes. Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross --- src/cmd/rio/showevent/sample.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/cmd/rio/showevent') diff --git a/src/cmd/rio/showevent/sample.c b/src/cmd/rio/showevent/sample.c index 7b22e970..9ad8c639 100644 --- a/src/cmd/rio/showevent/sample.c +++ b/src/cmd/rio/showevent/sample.c @@ -45,4 +45,3 @@ char **argv; printf("\n\n"); } } - -- cgit v1.2.3 From fafa622a5bdf71adfbb4334541c3b65f29c89ca9 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 12 Jan 2020 15:05:40 -0500 Subject: all: fix or silence various gcc warnings As usual, gcc finds some real problems but also reports a ton of noise. Fix the problems and quiet the noise. --- src/cmd/rio/showevent/ShowEvent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/rio/showevent') diff --git a/src/cmd/rio/showevent/ShowEvent.c b/src/cmd/rio/showevent/ShowEvent.c index 56f620d5..12942e11 100644 --- a/src/cmd/rio/showevent/ShowEvent.c +++ b/src/cmd/rio/showevent/ShowEvent.c @@ -68,7 +68,7 @@ Time time; unsigned long min; unsigned long hr; unsigned long day; - static char buffer[32]; + static char buffer[50]; msec = time % 1000; time /= 1000; -- cgit v1.2.3