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 | 247524ddce71d1f56900276811136dfdbe38cc55 (patch) | |
tree | 8156bfffe30f91fdf58a22bd39fcc0704622e399 /contrib/bsnmp/snmp_ntp | |
parent | 38bcf38e8ed377df49a5c02ef7a7102bf85e35e2 (diff) | |
parent | 9b4fc3d8f13de6a6c075d5b243b2e8370bd35367 (diff) | |
download | FreeBSD-src-247524ddce71d1f56900276811136dfdbe38cc55.zip FreeBSD-src-247524ddce71d1f56900276811136dfdbe38cc55.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r156066,
which included commits to RCS files with non-trunk default branches.
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 |