summaryrefslogtreecommitdiff
path: root/lib/stream.h
diff options
context:
space:
mode:
authorWesley Coakley <wcoakley@cumulusnetworks.com>2020-05-28 11:18:11 -0400
committerWesley Coakley <wcoakley@cumulusnetworks.com>2020-05-28 11:18:11 -0400
commitf1bc75dac68c91c952d21e1208e627ec6869079a (patch)
tree22b71a893b4d3dc454e701f02f9bf98316e278cd /lib/stream.h
parent9d72660d671739452d9825609fbf73ec7245f2e8 (diff)
lib: stream_hexdump takes const struct
Signed-off-by: Wesley Coakley <wcoakley@cumulusnetworks.com>
Diffstat (limited to 'lib/stream.h')
-rw-r--r--lib/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.h b/lib/stream.h
index f84f028852..23d83bf930 100644
--- a/lib/stream.h
+++ b/lib/stream.h
@@ -253,7 +253,7 @@ extern int stream_flush(struct stream *, int);
extern int stream_empty(struct stream *); /* is the stream empty? */
/* debugging */
-extern void stream_hexdump(struct stream *);
+extern void stream_hexdump(const struct stream *s);
/* deprecated */
extern uint8_t *stream_pnt(struct stream *);