---
include/net-snmp/definitions.h | 6 ------
include/net-snmp/library/asn1.h | 2 --
include/net-snmp/types.h | 1 +
3 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/include/net-snmp/definitions.h b/include/net-snmp/definitions.h
index e79aa5d05c6a..1dfca03ab572 100644
--- a/include/net-snmp/definitions.h
+++ b/include/net-snmp/definitions.h
@@ -1,12 +1,6 @@
#ifndef NET_SNMP_DEFINITIONS_H
#define NET_SNMP_DEFINITIONS_H
- /**
- * Defined constants, and other similar enumerations.
- */
-
-#define MAX_OID_LEN 128 /* max subid's in an oid */
-
/*
* For the initial release, this will just refer to the
* relevant UCD header files.
diff --git a/include/net-snmp/library/asn1.h b/include/net-snmp/library/asn1.h
index f7d8c12a5007..2e977ef144e6 100644
--- a/include/net-snmp/library/asn1.h
+++ b/include/net-snmp/library/asn1.h
@@ -43,8 +43,6 @@ SOFTWARE.
* Use is subject to license terms specified in the COPYING file
*/
-#define MIN_OID_LEN 2
-#define MAX_OID_LEN 128 /* max subid's in an oid */
#ifndef MAX_NAME_LEN /* conflicts with some libraries */
#define MAX_NAME_LEN MAX_OID_LEN /* obsolete. use MAX_OID_LEN */
#endif
diff --git a/include/net-snmp/types.h b/include/net-snmp/types.h
index 47cab44960a1..f63388261c44 100644
--- a/include/net-snmp/types.h
+++ b/include/net-snmp/types.h
@@ -138,6 +138,7 @@ typedef union {
} netsnmp_vardata;
+#define MIN_OID_LEN 2
#define MAX_OID_LEN 128 /* max subid's in an oid */
/** @typedef struct variable_list netsnmp_variable_list
--
2.16.3
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders