From: Stefan Metzmacher Date: Tue, 10 Jan 2017 14:08:48 +0000 (+0100) Subject: nsswitch: remove unused TALLOC_* defines in pam_winbind.h X-Git-Tag: talloc-2.1.9~425 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfaa3582087f21a6dfc769b36f9d7245f73b25fc;p=thirdparty%2Fsamba.git nsswitch: remove unused TALLOC_* defines in pam_winbind.h Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- diff --git a/nsswitch/pam_winbind.h b/nsswitch/pam_winbind.h index 6b65c462eaa..d468efbb56a 100644 --- a/nsswitch/pam_winbind.h +++ b/nsswitch/pam_winbind.h @@ -216,10 +216,4 @@ struct pwb_context { struct wbcContext *wbc_ctx; }; -#ifndef TALLOC_FREE -#define TALLOC_FREE(ctx) do { talloc_free(ctx); ctx=NULL; } while(0) -#endif -#define TALLOC_ZERO_P(ctx, type) (type *)_talloc_zero(ctx, sizeof(type), #type) -#define TALLOC_P(ctx, type) (type *)talloc_named_const(ctx, sizeof(type), #type) - #endif /* _NSSWITCH_PAM_WINBIND_H_ */