summaryrefslogtreecommitdiffstats
path: root/contrib/bsnmp/snmp_ntp/snmp_ntp.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bsnmp/snmp_ntp/snmp_ntp.c')
-rw-r--r--contrib/bsnmp/snmp_ntp/snmp_ntp.c13
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
OpenPOWER on IntegriCloud