1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

r683: Remove the trailing ; from this macro, so it can be used in an 'if' expression.

(This used to be commit 3813517a8b561e7210ffc32ce861683b057d18eb)
This commit is contained in:
Andrew Bartlett 2004-05-13 15:27:08 +00:00 committed by Gerald (Jerry) Carter
parent 61ff3d4296
commit 03631a6d1f

View File

@ -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)