master - cleanup: malloc attributes
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=6d74ff2bf8313dae0cc27530eebf63be06a7bae6 Commit: 6d74ff2bf8313dae0cc27530eebf63be06a7bae6 Parent: ddeb37f282caf053687d447cd7f52cb7d5a1f702 Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon Feb 4 20:29:59 2013 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Feb 5 14:27:24 2013 +0100
cleanup: malloc attributes
--- libdm/libdevmapper.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
libdm/libdevmapper.h +3 -3
@@ -770,15 +770,15 @@ uint32_t dm_tree_get_cookie(struct dm_tree_node *node);*******************/ void *dm_malloc_aux (size_t s,const char *file,int line) - __attribute__((malloc)) __attribute__((__warn_unused_result__)); + __attribute__((__malloc__)) __attribute__((__warn_unused_result__));void *dm_malloc_aux_debug (size_t s,const char *file,int line) __attribute__((__warn_unused_result__));void *dm_zalloc_aux (size_t s,const char *file,int line) - __attribute__((malloc)) __attribute__((__warn_unused_result__)); + __attribute__((__malloc__)) __attribute__((__warn_unused_result__));void *dm_zalloc_aux_debug (size_t s,const char *file,int line) __attribute__((__warn_unused_result__));char *dm_strdup_aux (const char *str,const char *file,int line) - __attribute__((malloc)) __attribute__((__warn_unused_result__)); + __attribute__((__malloc__)) __attribute__((__warn_unused_result__));void dm_free_aux (void *p);void *dm_realloc_aux (void *p,unsigned int s,const char *file,int line) __attribute__((__warn_unused_result__));