projects
/
babeltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
482f727
)
Port: 'struct tm' member count vary across platforms
author
Michael Jeanson
<mjeanson@efficios.com>
Thu, 13 Jul 2017 19:11:10 +0000
(15:11 -0400)
committer
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Wed, 19 Jul 2017 19:28:22 +0000
(15:28 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
logging/log.c
patch
|
blob
|
blame
|
history
diff --git
a/logging/log.c
b/logging/log.c
index 1a3204cc5cab5e6a3e62c7ce3fb5dabdcf2b8c1b..49a3061a11c95084b3376498a52f5c8f4f3b7753 100644
(file)
--- a/
logging/log.c
+++ b/
logging/log.c
@@
-742,7
+742,7
@@
static char lvl_char(const int lvl)
#define TCACHE_FLUID (0x40000000 | 0x80000000)
static unsigned g_tcache_mode = TCACHE_STALE;
static struct timeval g_tcache_tv = {0, 0};
-static struct tm g_tcache_tm = {0
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
+static struct tm g_tcache_tm = {0};
static INLINE int tcache_get(const struct timeval *const tv, struct tm *const tm)
{
This page took
0.026538 seconds
and
4
git commands to generate.