[lvm-devel] master - cleanup: malloc attributes
Zdenek Kabelac
zkabelac at fedoraproject.org
Tue Feb 5 13:47:28 UTC 2013
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=6d74ff2bf8313dae0cc27530eebf63be06a7bae6
Commit: 6d74ff2bf8313dae0cc27530eebf63be06a7bae6
Parent: ddeb37f282caf053687d447cd7f52cb7d5a1f702
Author: Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate: Mon Feb 4 20:29:59 2013 +0100
Committer: Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Tue Feb 5 14:27:24 2013 +0100
cleanup: malloc attributes
---
libdm/libdevmapper.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libdm/libdevmapper.h b/libdm/libdevmapper.h
index 458d642..b08a549 100644
--- a/libdm/libdevmapper.h
+++ b/libdm/libdevmapper.h
@@ -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__));
More information about the lvm-devel
mailing list