summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-01-27 13:07:34 +0100
committerStefan Metzmacher <metze@samba.org>2015-03-09 09:35:05 +0100
commit3929abfc6b5a3ae8a27da57d4dbee9524e3585e3 (patch)
treea7f709230cc612523aab40602bff94a972ba3ba4
parent6b0cecee1b864a0589836caf9f5f2892f8cb6926 (diff)
downloadsamba-3929abfc6b5a3ae8a27da57d4dbee9524e3585e3.tar.gz
samba-3929abfc6b5a3ae8a27da57d4dbee9524e3585e3.tar.xz
samba-3929abfc6b5a3ae8a27da57d4dbee9524e3585e3.zip
talloc: fix _talloc_total_limit_size prototype
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
-rw-r--r--lib/talloc/talloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/talloc/talloc.c b/lib/talloc/talloc.c
index 46f10f4697..c10fd53db1 100644
--- a/lib/talloc/talloc.c
+++ b/lib/talloc/talloc.c
@@ -1064,7 +1064,7 @@ static inline int _talloc_free_internal(void *ptr, const char *location)
return 0;
}
-static size_t _talloc_total_limit_size(const void *ptr,
+static inline size_t _talloc_total_limit_size(const void *ptr,
struct talloc_memlimit *old_limit,
struct talloc_memlimit *new_limit);