git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
619d5f9
)
vlog: Array intialization for Windows.
author
Gurucharan Shetty
<gshetty@nicira.com>
Mon, 10 Mar 2014 15:39:44 +0000
(08:39 -0700)
committer
Gurucharan Shetty
<gshetty@nicira.com>
Wed, 12 Mar 2014 03:28:13 +0000
(20:28 -0700)
Visual studio does not understand array initialization
done this way:
[first ... last] = value
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/vlog.h
patch
|
blob
|
history
diff --git
a/lib/vlog.h
b/lib/vlog.h
index
226b7f8
..
0f791af
100644
(file)
--- a/
lib/vlog.h
+++ b/
lib/vlog.h
@@
-269,7
+269,7
@@
void vlog_usage(void);
{ \
LIST_INITIALIZER(&VLM_##MODULE.list), \
#MODULE, /* name */ \
- {
[ 0 ... VLF_N_FACILITIES - 1] = VLL_INFO },
/* levels */ \
+ {
VLL_INFO, VLL_INFO, VLL_INFO },
/* levels */ \
VLL_INFO, /* min_level */ \
true /* honor_rate_limits */ \
};