From 4abb4797613868e518baafb5f3618e78f67ac05c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 28 Sep 2005 19:56:21 +0000 Subject: r10588: Remove more unused files, macros (This used to be commit d2f80c0457f7404b2cac9df59a400130e9ad025f) --- source4/include/includes.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source4/include/includes.h') diff --git a/source4/include/includes.h b/source4/include/includes.h index ee1ac6d96e..b7acae9019 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -102,7 +102,6 @@ struct ipv4_addr { #include "smb_macros.h" #include "smb.h" #include "byteorder.h" -#include "module.h" #include "lib/tdr/tdr.h" #include "librpc/ndr/libndr.h" #include "librpc/gen_ndr/misc.h" @@ -116,10 +115,6 @@ struct ipv4_addr { #include "lib/com/com.h" #include "credentials.h" -#define malloc_p(type) (type *)malloc(sizeof(type)) -#define malloc_array_p(type, count) (type *)realloc_array(NULL, sizeof(type), count) -#define realloc_p(p, type, count) (type *)realloc_array(p, sizeof(type), count) - /***** automatically generated prototypes *****/ #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) #include "include/proto.h" @@ -170,9 +165,4 @@ extern int DEBUGLEVEL; #define UINT16_MAX 65535 #endif -/* - type safe varient of smb_xmalloc() -*/ -#define smb_xmalloc_p(type) (type *)smb_xmalloc(sizeof(type)) - #endif /* _INCLUDES_H */ -- cgit