Code Review
/
staging
/
windowmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0794731
)
util: make log_() static
author
Marcus Fritzsch
<marcus_fritzsch@mentor.com>
Mon, 26 Jun 2017 11:17:33 +0000
(13:17 +0200)
committer
Marcus Fritzsch
<marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000
(17:24 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/util.c
patch
|
blob
|
history
diff --git
a/src/util.c
b/src/util.c
index
0ce7c27
..
af32269
100644
(file)
--- a/
src/util.c
+++ b/
src/util.c
@@
-11,7
+11,8
@@
struct strftime_cache {
char buf[128];
};
-void log_(char const *log_type, FILE *stream, char const *fmt, va_list args) {
+static void log_(char const *log_type, FILE *stream, char const *fmt,
+ va_list args) {
static struct strftime_cache strft;
time_t t = time(NULL);