summaryrefslogtreecommitdiff
path: root/lib/smux.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-03-24 10:20:54 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-03-26 16:22:00 -0400
commit4ce217af91f456bdba956e5a306dafd7dae4ac5c (patch)
tree7b1e589bb5df794591110001bcfe8b8f1001ed8c /lib/smux.h
parent52a44d64b52e3481a0316d94d601fe2bf3ac4230 (diff)
lib: make oid_copy_addr respect my constness
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/smux.h')
-rw-r--r--lib/smux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smux.h b/lib/smux.h
index 3f860db0dc..6896f02354 100644
--- a/lib/smux.h
+++ b/lib/smux.h
@@ -105,7 +105,7 @@ extern int smux_trap(struct variable *, size_t, const oid *, size_t,
extern int oid_compare(const oid *, int, const oid *, int);
extern void oid2in_addr(oid[], int, struct in_addr *);
extern void *oid_copy(void *, const void *, size_t);
-extern void oid_copy_addr(oid[], struct in_addr *, int);
+extern void oid_copy_addr(oid[], const struct in_addr *, int);
#ifdef __cplusplus
}