diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2013-03-04 14:00:32 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2013-03-04 14:00:32 +0000 |
commit | cb5137c830ba0a1738042a6673bdd43ec96feb9b (patch) | |
tree | 61ca8ef4aeb117419ae97c7dc4daac66ad70994f /usr.sbin/snmpd/snmpd.h | |
parent | 2f7e58b49e104e9ee8409d9c37ceed7b273c1c55 (diff) |
Fix compiler warnings about casts discarding const qualifiers and
comparison between signed and unsigned. No binary change.
OK reyk@ joel@ gerhard@
Diffstat (limited to 'usr.sbin/snmpd/snmpd.h')
-rw-r--r-- | usr.sbin/snmpd/snmpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/snmpd.h b/usr.sbin/snmpd/snmpd.h index f48f6c863b0..d144b7cc2a7 100644 --- a/usr.sbin/snmpd/snmpd.h +++ b/usr.sbin/snmpd/snmpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpd.h,v 1.40 2013/01/24 09:30:27 gerhard Exp $ */ +/* $OpenBSD: snmpd.h,v 1.41 2013/03/04 14:00:31 bluhm Exp $ */ /* * Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org> @@ -507,7 +507,7 @@ int pfr_get_astats(struct pfr_table *, struct pfr_astats *, int pfr_get_tstats(struct pfr_table *, struct pfr_tstats *, int *, int); int pfr_buf_grow(struct pfr_buffer *, int); -void *pfr_buf_next(struct pfr_buffer *, const void *); +const void *pfr_buf_next(struct pfr_buffer *, const void *); int pfi_get_ifaces(const char *, struct pfi_kif *, int *); int pfi_get(struct pfr_buffer *, const char *); int pfi_count(void); |