summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/addns/dns.h84
1 files changed, 0 insertions, 84 deletions
diff --git a/lib/addns/dns.h b/lib/addns/dns.h
index 22299c525a..bf2ade387b 100644
--- a/lib/addns/dns.h
+++ b/lib/addns/dns.h
@@ -44,90 +44,6 @@
#include <talloc.h>
-/*******************************************************************
- Type definitions for int16, int32, uint16 and uint32. Needed
- for Samba coding style
-*******************************************************************/
-
-#ifndef uint8
-# define uint8 unsigned char
-#endif
-
-#if !defined(int16) && !defined(HAVE_INT16_FROM_RPC_RPC_H)
-# if (SIZEOF_SHORT == 4)
-# define int16 __ERROR___CANNOT_DETERMINE_TYPE_FOR_INT16;
-# else /* SIZEOF_SHORT != 4 */
-# define int16 short
-# endif /* SIZEOF_SHORT != 4 */
- /* needed to work around compile issue on HP-UX 11.x */
-# define _INT16 1
-#endif
-
-/*
- * Note we duplicate the size tests in the unsigned
- * case as int16 may be a typedef from rpc/rpc.h
- */
-
-#if !defined(uint16) && !defined(HAVE_UINT16_FROM_RPC_RPC_H)
-# if (SIZEOF_SHORT == 4)
-# define uint16 __ERROR___CANNOT_DETERMINE_TYPE_FOR_INT16;
-# else /* SIZEOF_SHORT != 4 */
-# define uint16 unsigned short
-# endif /* SIZEOF_SHORT != 4 */
-#endif
-
-#if !defined(int32) && !defined(HAVE_INT32_FROM_RPC_RPC_H)
-# if (SIZEOF_INT == 4)
-# define int32 int
-# elif (SIZEOF_LONG == 4)
-# define int32 long
-# elif (SIZEOF_SHORT == 4)
-# define int32 short
-# else
- /* uggh - no 32 bit type?? probably a CRAY. just hope this works ... */
-# define int32 int
-# endif
-# ifndef _INT32
- /* needed to work around compile issue on HP-UX 11.x */
-# define _INT32 1
-# endif
-#endif
-
-/*
- * Note we duplicate the size tests in the unsigned
- * case as int32 may be a typedef from rpc/rpc.h
- */
-
-#if !defined(uint32) && !defined(HAVE_UINT32_FROM_RPC_RPC_H)
-# if (SIZEOF_INT == 4)
-# define uint32 unsigned int
-# elif (SIZEOF_LONG == 4)
-# define uint32 unsigned long
-# elif (SIZEOF_SHORT == 4)
-# define uint32 unsigned short
-# else
- /* uggh - no 32 bit type?? probably a CRAY. just hope this works ... */
-# define uint32 unsigned
-# endif
-#endif
-
-/*
- * check for 8 byte long long
- */
-
-#if !defined(uint64)
-# if (SIZEOF_LONG == 8)
-# define uint64 unsigned long
-# elif (SIZEOF_LONG_LONG == 8)
-# define uint64 unsigned long long
-# endif /* don't lie. If we don't have it, then don't use it */
-#endif
-
-/* needed on Sun boxes */
-#ifndef INADDR_NONE
-#define INADDR_NONE 0xFFFFFFFF
-#endif
-
#include "dnserr.h"