Rev 660: remove a incorrectly added file in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Thu Oct 18 23:30:56 GMT 2007


------------------------------------------------------------
revno: 660
revision-id: tridge at samba.org-20071018233055-hmf4cgly84gjf8h6
parent: tridge at samba.org-20071018062736-qylrh3g7sxiik8xy
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Fri 2007-10-19 09:30:55 +1000
message:
  remove a incorrectly added file
removed:
  lib/talloc/talloc.h.rej        talloc.h.rej-20070125040949-7t3f5zdl1q4z9hyv-53
=== removed file 'lib/talloc/talloc.h.rej'
--- a/lib/talloc/talloc.h.rej	2007-01-25 04:10:40 +0000
+++ b/lib/talloc/talloc.h.rej	1970-01-01 00:00:00 +0000
@@ -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 *));



More information about the samba-cvs mailing list