diff options
author | harti <harti@FreeBSD.org> | 2006-02-27 16:16:18 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2006-02-27 16:16:18 +0000 |
commit | 9b4fc3d8f13de6a6c075d5b243b2e8370bd35367 (patch) | |
tree | 8b4bdaf89989b90cdbdc0b6e86d7cbd38ff6174f /contrib/bsnmp/snmp_ntp | |
parent | a923e07ab3efd8202b4be3f02e729f61e7aef5af (diff) | |
download | FreeBSD-src-9b4fc3d8f13de6a6c075d5b243b2e8370bd35367.zip FreeBSD-src-9b4fc3d8f13de6a6c075d5b243b2e8370bd35367.tar.gz |
Virgin import of bsnmpd 1.12
Diffstat (limited to 'contrib/bsnmp/snmp_ntp')
-rw-r--r-- | contrib/bsnmp/snmp_ntp/snmp_ntp.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/contrib/bsnmp/snmp_ntp/snmp_ntp.c b/contrib/bsnmp/snmp_ntp/snmp_ntp.c index 830c01f..fcc129a 100644 --- a/contrib/bsnmp/snmp_ntp/snmp_ntp.c +++ b/contrib/bsnmp/snmp_ntp/snmp_ntp.c @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Begemot: bsnmp/snmp_ntp/snmp_ntp.c,v 1.7 2005/10/04 11:21:36 brandt_h Exp $ + * $Begemot: bsnmp/snmp_ntp/snmp_ntp.c,v 1.9 2005/10/06 07:15:01 brandt_h Exp $ * * NTP interface for SNMPd. */ @@ -51,20 +51,11 @@ #include <syslog.h> #include <unistd.h> +#include "support.h" #include "snmpmod.h" #include "ntp_tree.h" #include "ntp_oid.h" -#if !defined(INT32_MIN) -#define INT32_MIN (-0x7fffffff-1) -#endif -#if !defined(INT32_MAX) -#define INT32_MAX (0x7fffffff) -#endif -#if !defined(UINT32_MAX) -#define UINT32_MAX (0xffffffff) -#endif - #define NTPC_MAX 576 #define NTPC_VERSION 3 #define NTPC_MODE 6 |