diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2009-11-10 11:47:44 -0800 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2009-11-10 11:47:44 -0800 |
commit | de091469395240a987a575f08e23c7627fdc56d8 (patch) | |
tree | 19a2963fcf5e56449a22e0e6fe8f7afeb30e0937 /libnet/src/libnet_link_snoop.c | |
parent | f7da4b67e0b36d67c25fe79f9919a7ec929bb3e3 (diff) | |
download | libnet-de091469395240a987a575f08e23c7627fdc56d8.tar.gz |
Declared many constant arguments as const, const-correct code spews warnings when built against libnet.
Diffstat (limited to 'libnet/src/libnet_link_snoop.c')
-rw-r--r-- | libnet/src/libnet_link_snoop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnet/src/libnet_link_snoop.c b/libnet/src/libnet_link_snoop.c index 6adbfa0..66a4ef8 100644 --- a/libnet/src/libnet_link_snoop.c +++ b/libnet/src/libnet_link_snoop.c @@ -132,7 +132,7 @@ libnet_close_link(libnet_t *l) int -libnet_write_link(libnet_t *l, uint8_t *buf, uint32_t len) +libnet_write_link(libnet_t *l, const uint8_t *buf, uint32_t len) { int c; struct ifreq ifr; |