talloc: fix _talloc_total_limit_size prototype
authorStefan Metzmacher <metze@samba.org>
Tue, 27 Jan 2015 12:07:34 +0000 (13:07 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 9 Mar 2015 08:35:05 +0000 (09:35 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/talloc/talloc.c

index 46f10f4697cfce55393a687c2eb7a4c3c973ed4e..c10fd53db12b81766dc08f5604686caa6aa2952e 100644 (file)
@@ -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);