diff options
author | Hartmut Brandt <harti@FreeBSD.org> | 2006-02-27 16:16:18 +0000 |
---|---|---|
committer | Hartmut Brandt <harti@FreeBSD.org> | 2006-02-27 16:16:18 +0000 |
commit | 568d256aa128b2d627b0cbbc903178485b0ee63c (patch) | |
tree | 8156bfffe30f91fdf58a22bd39fcc0704622e399 /contrib/bsnmp/snmp_ntp | |
parent | 5943a2a3e97f67444ffbdc766c0316bf94370a28 (diff) | |
parent | 748b5b1ebd1b2c58c21a90cdc5abdd462eeb22b3 (diff) | |
download | src-test2-568d256aa128b2d627b0cbbc903178485b0ee63c.tar.gz src-test2-568d256aa128b2d627b0cbbc903178485b0ee63c.zip |
Notes
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 830c01f6b0d2..fcc129a917fa 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 |