Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
moved headers to extern
[slstatus.git]
/
slstatus.c
diff --git
a/slstatus.c
b/slstatus.c
index
379be53
..
99ef720
100644
(file)
--- a/
slstatus.c
+++ b/
slstatus.c
@@
-26,14
+26,14
@@
#undef strlcat
#undef strlcpy
#undef strlcat
#undef strlcpy
-#include "arg.h"
-#include "strlcat.h"
-#include "strlcpy.h"
-#include "concat.h"
+#include "
extern/
arg.h"
+#include "
extern/
strlcat.h"
+#include "
extern/
strlcpy.h"
+#include "
extern/
concat.h"
struct arg {
char *(*func)();
struct arg {
char *(*func)();
- const char *f
orma
t;
+ const char *f
m
t;
const char *args;
};
const char *args;
};
@@
-647,7
+647,7
@@
main(int argc, char *argv[])
} else {
res = argument.func(argument.args);
}
} else {
res = argument.func(argument.args);
}
- element = smprintf(argument.f
orma
t, res);
+ element = smprintf(argument.f
m
t, res);
if (element == NULL) {
element = smprintf(UNKNOWN_STR);
warnx("Failed to format output");
if (element == NULL) {
element = smprintf(UNKNOWN_STR);
warnx("Failed to format output");