summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-03 18:03:57 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-03 18:07:33 +0100
commitb00204a46153a406a6c63792b1939bd3ad74ba71 (patch)
tree3d75260e43314488f568da77f34c12e47b2254a2 /source3
parentb6f479d4413511fbd742e7c8464cec67501f539c (diff)
downloadsamba-b00204a46153a406a6c63792b1939bd3ad74ba71.tar.gz
samba-b00204a46153a406a6c63792b1939bd3ad74ba71.tar.bz2
samba-b00204a46153a406a6c63792b1939bd3ad74ba71.zip
lib/util: remove samba specific talloc_get_type_abort()
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/include/includes.h4
-rw-r--r--source3/include/proto.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index ca918b37df..b48a75526a 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -584,10 +584,6 @@ struct smb_iconv_convenience *lp_iconv_convenience(void *lp_ctx);
#include "../lib/util/time.h"
#include "../lib/util/asn1.h"
-/* And a little extension. Abort on type mismatch */
-#define talloc_get_type_abort(ptr, type) \
- (type *)talloc_check_name_abort(ptr, #type)
-
#include "ads.h"
#include "ads_dns.h"
#include "interfaces.h"
diff --git a/source3/include/proto.h b/source3/include/proto.h
index e1eab8dc16..78110161c5 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1173,7 +1173,6 @@ bool mask_match_search(const char *string, const char *pattern, bool is_case_sen
bool mask_match_list(const char *string, char **list, int listLen, bool is_case_sensitive);
bool unix_wild_match(const char *pattern, const char *string);
bool name_to_fqdn(fstring fqdn, const char *name);
-void *talloc_check_name_abort(const void *ptr, const char *name);
void *talloc_append_blob(TALLOC_CTX *mem_ctx, void *buf, DATA_BLOB blob);
uint32 map_share_mode_to_deny_mode(uint32 share_access, uint32 private_options);
pid_t procid_to_pid(const struct server_id *proc);