summaryrefslogtreecommitdiff
path: root/source4/nsswitch/winbind_nss_config.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-09-21 14:41:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:39 -0500
commitb1ad4a27cb7f7a0169c4f6a3756462912a9fa8e6 (patch)
treeacdf682f7ca428d83f41ae7685abe476fd4b0c6d /source4/nsswitch/winbind_nss_config.h
parent7a545880d796ba76ebfd07472db92ddee93c875a (diff)
downloadsamba-b1ad4a27cb7f7a0169c4f6a3756462912a9fa8e6.tar.gz
samba-b1ad4a27cb7f7a0169c4f6a3756462912a9fa8e6.tar.bz2
samba-b1ad4a27cb7f7a0169c4f6a3756462912a9fa8e6.zip
r10390: Remove fstring, pstring and uint32_t from winbindd_nss.h.
Volker (This used to be commit 3dc7e67dc5e5844523e9768081123c622e61c7e9)
Diffstat (limited to 'source4/nsswitch/winbind_nss_config.h')
-rw-r--r--source4/nsswitch/winbind_nss_config.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/source4/nsswitch/winbind_nss_config.h b/source4/nsswitch/winbind_nss_config.h
index 4edff061f8..345e8d3228 100644
--- a/source4/nsswitch/winbind_nss_config.h
+++ b/source4/nsswitch/winbind_nss_config.h
@@ -81,17 +81,6 @@
#endif
#include "nsswitch/winbind_nss.h"
-/* I'm trying really hard not to include anything from smb.h with the
- result of some silly looking redeclaration of structures. */
-
-#ifndef _PSTRING
-#define _PSTRING
-#define PSTRING_LEN 1024
-#define FSTRING_LEN 256
-typedef char pstring[PSTRING_LEN];
-typedef char fstring[FSTRING_LEN];
-#endif
-
#ifndef Auto
#define False (0)
#define True (1)
@@ -99,28 +88,6 @@ typedef char fstring[FSTRING_LEN];
typedef int BOOL;
#endif
-#if !defined(uint32)
-#if (SIZEOF_INT == 4)
-#define uint32 unsigned int
-#elif (SIZEOF_LONG == 4)
-#define uint32 unsigned long
-#elif (SIZEOF_SHORT == 4)
-#define uint32 unsigned short
-#endif
-#endif
-
-#if !defined(uint16)
-#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
-
-#ifndef uint8
-#define uint8 unsigned char
-#endif
-
/* zero a structure */
#ifndef ZERO_STRUCT
#define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x))