These data structures are never modified so this seems like a
logical change.

Signed-off-by: Ben Pfaff <b...@nicira.com>
---
 lib/stream-fd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/stream-fd.c b/lib/stream-fd.c
index 1b16f3e..90d328a 100644
--- a/lib/stream-fd.c
+++ b/lib/stream-fd.c
@@ -172,7 +172,7 @@ struct fd_pstream
     char *unlink_path;
 };
 
-static struct pstream_class fd_pstream_class;
+static const struct pstream_class fd_pstream_class;
 
 static struct fd_pstream *
 fd_pstream_cast(struct pstream *pstream)
@@ -266,7 +266,7 @@ pfd_set_dscp(struct pstream *pstream, uint8_t dscp)
     return 0;
 }
 
-static struct pstream_class fd_pstream_class = {
+static const struct pstream_class fd_pstream_class = {
     "pstream",
     false,
     NULL,
-- 
1.7.2.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to