From e618b42fce7b8ad63b1fc78313ff89b6e7282c20 Mon Sep 17 00:00:00 2001 From: Jarno Rajahalme Date: Fri, 24 Oct 2014 13:22:24 -0700 Subject: 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 Acked-by: Ben Pfaff --- lib/stream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/stream.h') 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 #include #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); -- cgit v1.2.1