Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Removed #define for unknown_str
[slstatus.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
2b06f34
..
1797a9b
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-4,7
+4,7
@@
static const int update_interval = 1;
/* text to show if no value can be retrieved */
static const int update_interval = 1;
/* text to show if no value can be retrieved */
-#define UNKNOWN_STR "n/a"
+static const char unknown_str[] = "n/a";
/* maximum output string length */
#define MAXLEN 2048
/* maximum output string length */
#define MAXLEN 2048