diff options
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/includes.h | 43 | ||||
-rw-r--r-- | source4/include/smb.h | 9 |
2 files changed, 0 insertions, 52 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h index 8c2e96b62e..68e369a77b 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -85,49 +85,6 @@ #define VOLATILE #endif -/* - Samba needs type definitions for - int8_t, int16_t, int32_t, int64_t - uint8_t, uint16_t, uint32_t and uint64_t. - - Normally these are signed and unsigned 8, 16, 32 and 64 bit integers, but - they actually only need to be at least 8, 16, 32 and 64 bits - respectively. Thus if your word size is 8 bytes just defining them - as signed and unsigned int will work. -*/ - -#if !defined(int8) -#define int8 int8_t -#endif - -#if !defined(uint8) -#define uint8 uint8_t -#endif - -#if !defined(int16) -#define int16 int16_t -#endif - -#if !defined(uint16) -#define uint16 uint16_t -#endif - -#if !defined(int32) -#define int32 int32_t -#endif - -#if !defined(uint32) -#define uint32 uint32_t -#endif - -#if !defined(int64) -#define int64 int64_t -#endif - -#if !defined(uint64) -#define uint64 uint64_t -#endif - #define False (0) #define True (1) #define Auto (2) diff --git a/source4/include/smb.h b/source4/include/smb.h index 3032847460..e40f86eb4c 100644 --- a/source4/include/smb.h +++ b/source4/include/smb.h @@ -196,18 +196,9 @@ typedef struct data_blob { size_t length; } DATA_BLOB; -/* 8 byte aligned 'hyper' type from MS IDL */ -typedef uint64_t HYPER_T; - /* 64 bit time (100 nanosec) 1601 - cifs6.txt, section 3.5, page 30, 4 byte aligned */ typedef uint64_t NTTIME; -/* 64 bit time (100 nanosec) 1601, but 8 byte aligned 'hyper' type */ -#define NTTIME_hyper NTTIME - -/* 64 bit time (1 sec) 1601 - in the NDR blob but mapped to NTTIME */ -#define NTTIME_1sec NTTIME - /* the basic packet size, assuming no words or bytes. Does not include the NBT header */ #define MIN_SMB_SIZE 35 |