From 03631a6d1f45f8c60fa63c89f7aa66020adbfec9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 13 May 2004 15:27:08 +0000 Subject: r683: Remove the trailing ; from this macro, so it can be used in an 'if' expression. (This used to be commit 3813517a8b561e7210ffc32ce861683b057d18eb) --- source4/include/talloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/include') diff --git a/source4/include/talloc.h b/source4/include/talloc.h index 204dd406b9..8c1a726778 100644 --- a/source4/include/talloc.h +++ b/source4/include/talloc.h @@ -47,7 +47,7 @@ char *talloc_asprintf_append(TALLOC_CTX *t, char *, const char *, ...) PRINTF_ATTRIBUTE(3, 4); /* useful macros for creating type checked pointers */ -#define talloc_p(ctx, type) (type *)talloc(ctx, sizeof(type)); +#define talloc_p(ctx, type) (type *)talloc(ctx, sizeof(type)) #define talloc_array_p(ctx, type, count) (type *)talloc_realloc_array(ctx, NULL, sizeof(type), count) #define talloc_realloc_p(ctx, p, type, count) (type *)talloc_realloc_array(ctx, p, sizeof(type), count) -- cgit