This commit was generated by cvs2svn to compensate for changes in r150974,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
Hartmut Brandt 2005-10-05 15:19:56 +00:00
commit bb5e059e0d
5 changed files with 32 additions and 10 deletions

View File

@ -43,6 +43,16 @@
#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
static void asn_error_func(const struct asn_buf *, const char *, ...);
void (*asn_error)(const struct asn_buf *, const char *, ...) = asn_error_func;

View File

@ -179,14 +179,4 @@ enum {
ASN_EXCEPT_ENDOFMIBVIEW = 0x02,
};
#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
#endif

View File

@ -64,6 +64,14 @@
#include "snmpclient.h"
#include "snmppriv.h"
#if !defined(INT32_MAX)
#define INT32_MAX (0x7fffffff)
#endif
#if !defined(UINT32_MAX)
#define UINT32_MAX (0xffffffff)
#endif
/* global context */
struct snmp_client snmp_client;

View File

@ -55,6 +55,16 @@
#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

View File

@ -57,6 +57,10 @@
#include "tree.h"
#include "oid.h"
#if !defined(INT32_MAX)
#define INT32_MAX (0x7fffffff)
#endif
#define PATH_PID "/var/run/%s.pid"
#define PATH_CONFIG "/etc/%s.config"