From: Andrew Tridgell Date: Thu, 18 Oct 2007 23:30:55 +0000 (+1000) Subject: remove a incorrectly added file X-Git-Tag: tevent-0.9.20~348^2~2371 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=623e216dcf02de0afbf9c5cea350818943eafdde;p=thirdparty%2Fsamba.git remove a incorrectly added file (This used to be ctdb commit ff01a32db81b6c04d42634f5660181c270988264) --- diff --git a/ctdb/lib/talloc/talloc.h.rej b/ctdb/lib/talloc/talloc.h.rej deleted file mode 100644 index 48ff66f44b0..00000000000 --- a/ctdb/lib/talloc/talloc.h.rej +++ /dev/null @@ -1,36 +0,0 @@ -*************** -*** 80,106 **** - #define talloc_destroy(ctx) talloc_free(ctx) - #endif - -- #ifndef PRINTF_ATTRIBUTE -- #if (__GNUC__ >= 3) -- /** Use gcc attribute to check printf fns. a1 is the 1-based index of -- * the parameter containing the format, and a2 the index of the first -- * argument. Note that some gcc 2.x versions don't handle this -- * properly **/ -- #define PRINTF_ATTRIBUTE(a1, a2) __attribute__ ((format (__printf__, a1, a2))) -- /* We need __typeof__ to make this type-safe. */ -- #define talloc_set_destructor(ptr, function) \ -- do { \ -- int (*_talloc_destructor_fn)(typeof(ptr)) = (function); \ -- _talloc_set_destructor((ptr), _talloc_destructor_fn); \ -- } while(0) -- #else -- #define PRINTF_ATTRIBUTE(a1, a2) -- #define talloc_set_destructor(ptr, function) \ -- _talloc_set_destructor((ptr), (int (*)(void *))(function)) -- #endif -- #endif -- -- - /* The following definitions come from talloc.c */ - void *_talloc(const void *context, size_t size); - void _talloc_set_destructor(const void *ptr, int (*destructor)(void *)); ---- 103,108 ---- - #define talloc_destroy(ctx) talloc_free(ctx) - #endif - - /* The following definitions come from talloc.c */ - void *_talloc(const void *context, size_t size); - void _talloc_set_destructor(const void *ptr, int (*destructor)(void *));