Commit: 72fd6fbe746ec0e764fd9b640618dbc36cca20d4
Parent: a563cf4d75cd5bca4907c389cb77f30a4fdfa11f
Author: opask
Date: Sun, 14 Apr 2019 23:56:08 -0600
status.c: remove superfluous const keywords
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/status.c b/status.c
@@ -28,7 +28,7 @@ die(const char *errstr, ...)
}
static void
-terminate(const int signo)
+terminate(int signo)
{
done = 1;
}
@@ -82,7 +82,7 @@ setstatus(char *str)
static char *
gettime(const char *fmt)
{
- const time_t t = time(NULL);
+ time_t t = time(NULL);
if (!(strftime(buf, sizeof(buf), fmt, localtime(&t))))
return smprintf("");