git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ff3d4
)
r683: Remove the trailing ; from this macro, so it can be used in an 'if' expression.
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 13 May 2004 15:27:08 +0000
(15:27 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:53:42 +0000
(12:53 -0500)
(This used to be commit
3813517a8b561e7210ffc32ce861683b057d18eb
)
source4/include/talloc.h
patch
|
blob
|
history
diff --git
a/source4/include/talloc.h
b/source4/include/talloc.h
index 204dd406b9f50a23624b699d057d84875edaad28..8c1a72677874d8d75bbe0d1977eddf4d69ad2c46 100644
(file)
--- 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)