1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r24764: Fix second TALLOC_SIZE definition. Still watching the

build farm to see I didn't stuff this up...
Jeremy.
(This used to be commit 4ca43172d9)
This commit is contained in:
Jeremy Allison 2007-08-29 04:06:09 +00:00 committed by Gerald (Jerry) Carter
parent d17f87e283
commit e9cea3e2d8

View File

@ -116,7 +116,7 @@ void *talloc_zeronull(const void *context, size_t size, const char *name);
#define TALLOC_ZERO(ctx, size) _talloc_zero(ctx, size, __location__)
#define TALLOC_ZERO_P(ctx, type) (type *)_talloc_zero(ctx, sizeof(type), #type)
#define TALLOC_ZERO_ARRAY(ctx, type, count) (type *)_talloc_zero_array(ctx, sizeof(type), count, #type)
#define TALLOC_SIZE(ctx, size) talloc(ctx, size, __location__)
#define TALLOC_SIZE(ctx, size) talloc_named_const(ctx, size, __location__)
#define TALLOC_ZERO_SIZE(ctx, size) _talloc_zero(ctx, size, __location__)
#endif