Remove [u]int[XX] defines from source3/include/includes.h
authorRichard Sharpe <rsharpe@samba.org>
Mon, 18 May 2015 00:21:06 +0000 (17:21 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 18 May 2015 03:24:21 +0000 (05:24 +0200)
Signed-off-by: Richard Sharpe <rsharpe@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon May 18 05:24:22 CEST 2015 on sn-devel-104

source3/include/includes.h

index b61742a91491d7a81c888a551a6db84507cacb56..81bba40e35549accc24c5e450f8c5b73218a97bb 100644 (file)
@@ -176,65 +176,6 @@ typedef sig_atomic_t volatile SIG_ATOMIC_T;
 #define uchar unsigned char
 #endif
 
-/*
-   Samba needs type definitions for int16, int32, uint16 and uint32.
-
-   Normally these are signed and unsigned 16 and 32 bit integers, but
-   they actually only need to be at least 16 and 32 bits
-   respectively. Thus if your word size is 8 bytes just defining them
-   as signed and unsigned int will work.
-*/
-
-#ifndef uint8
-#define uint8 uint8_t
-#endif
-
-#if !defined(int16) && !defined(HAVE_INT16_FROM_RPC_RPC_H)
-#  define int16 int16_t
-   /* 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)
-#  define uint16 uint16_t
-#endif
-
-#if !defined(int32) && !defined(HAVE_INT32_FROM_RPC_RPC_H)
-#  define int32 int32_t
-#  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)
-#  define uint32 uint32_t
-#endif
-
-/*
- * check for 8 byte long long
- */
-
-#if !defined(uint64)
-#  define uint64 uint64_t
-#endif
-
-#if !defined(int64)
-#  define int64 int64_t
-#endif
-
-
 /*
  * Types for devices, inodes and offsets.
  */