Xinqi Bao's Git
projects
/
slstatus.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
aac29e2
)
uptime: Format function is static
author
Aaron Marcher <
[email protected]
>
Fri, 18 May 2018 23:55:31 +0000
(
01:55
+0200)
committer
Aaron Marcher <
[email protected]
>
Fri, 18 May 2018 23:55:31 +0000
(
01:55
+0200)
components/uptime.c
patch
|
blob
|
history
diff --git
a/components/uptime.c
b/components/uptime.c
index
45e12db
..
f97809d
100644
(file)
--- a/
components/uptime.c
+++ b/
components/uptime.c
@@
-3,7
+3,7
@@
#include "../util.h"
-const char *
+
static
const char *
format(int uptime)
{
int h, m;