Xinqi Bao's Git
projects
/
slstatus.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
8601c27
)
Remove non-portable functions from config.def.h
author
Aaron Marcher <
[email protected]
>
Mon, 16 Apr 2018 17:09:07 +0000
(19:09 +0200)
committer
Aaron Marcher <
[email protected]
>
Mon, 16 Apr 2018 17:09:07 +0000
(19:09 +0200)
config.def.h
diff
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
6370008
..
1e3be56
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-51,7
+51,5
@@
static const char unknown_str[] = "n/a";
*/
static const struct arg args[] = {
/* function format argument */
*/
static const struct arg args[] = {
/* function format argument */
- { cpu_perc, "[CPU %3s%%] ", NULL },
- { ram_perc, "[RAM %2s%%] ", NULL },
- { datetime, "[ %s ]", "%F %T" },
+ { datetime, "%s", "%F %T" },
};
};