summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-05-13 15:27:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:42 -0500
commit03631a6d1f45f8c60fa63c89f7aa66020adbfec9 (patch)
tree1a1df1cd34623345a3cef2d6cbf60b372d390a2e
parent61ff3d429602aafa8363a3c3d2807bc1c3912763 (diff)
downloadsamba-03631a6d1f45f8c60fa63c89f7aa66020adbfec9.tar.gz
samba-03631a6d1f45f8c60fa63c89f7aa66020adbfec9.tar.bz2
samba-03631a6d1f45f8c60fa63c89f7aa66020adbfec9.zip
r683: Remove the trailing ; from this macro, so it can be used in an 'if' expression.
(This used to be commit 3813517a8b561e7210ffc32ce861683b057d18eb)
-rw-r--r--source4/include/talloc.h2
1 files changed, 1 insertions, 1 deletions
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)