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/lib/asn1.c | |
parent | a923e07ab3efd8202b4be3f02e729f61e7aef5af (diff) | |
download | FreeBSD-src-9b4fc3d8f13de6a6c075d5b243b2e8370bd35367.zip FreeBSD-src-9b4fc3d8f13de6a6c075d5b243b2e8370bd35367.tar.gz |
Virgin import of bsnmpd 1.12
Diffstat (limited to 'contrib/bsnmp/lib/asn1.c')
-rw-r--r-- | contrib/bsnmp/lib/asn1.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/contrib/bsnmp/lib/asn1.c b/contrib/bsnmp/lib/asn1.c index d72eee5..16b523d 100644 --- a/contrib/bsnmp/lib/asn1.c +++ b/contrib/bsnmp/lib/asn1.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Begemot: bsnmp/lib/asn1.c,v 1.29 2005/10/04 11:21:31 brandt_h Exp $ + * $Begemot: bsnmp/lib/asn1.c,v 1.31 2005/10/06 07:14:58 brandt_h Exp $ * * ASN.1 for SNMP. */ @@ -41,17 +41,9 @@ #include <inttypes.h> #endif #include <assert.h> -#include "asn1.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 +#include "support.h" +#include "asn1.h" static void asn_error_func(const struct asn_buf *, const char *, ...); |