summaryrefslogtreecommitdiff
path: root/lib/stream.h
diff options
context:
space:
mode:
authorJarno Rajahalme <jrajahalme@nicira.com>2014-10-24 13:22:24 -0700
committerJarno Rajahalme <jrajahalme@nicira.com>2014-10-24 13:22:24 -0700
commite618b42fce7b8ad63b1fc78313ff89b6e7282c20 (patch)
tree2a5a5a53056bd04efe5b2f1969ae9305f17f3744 /lib/stream.h
parent3a17f00f784b4b47917f336ca19bdc7078faade5 (diff)
downloadopenvswitch-e618b42fce7b8ad63b1fc78313ff89b6e7282c20.tar.gz
lib: Clean up vlog use.
Vlog functions assume a vlog module has been defined for the current translation unit. Including lib/vlog.h from a header file makes the vlog API visible even when no vlog module may not have been defined. This patch removes the two cases in the tree where vlog.h was included from a header file. Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/stream.h')
-rw-r--r--lib/stream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stream.h b/lib/stream.h
index 3780ff98f..3087f4527 100644
--- a/lib/stream.h
+++ b/lib/stream.h
@@ -22,11 +22,12 @@
#include <stdint.h>
#include <sys/types.h>
#include "openvswitch/types.h"
-#include "vlog.h"
#include "socket-util.h"
+#include "util.h"
struct pstream;
struct stream;
+struct vlog_module;
void stream_usage(const char *name, bool active, bool passive, bool bootstrap);