From c252143d5147e541a42bf7bb2530e12c62962576 Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Tue, 2 Dec 2008 02:33:24 +0100 Subject: replaced mpd_malloc by G_GNUC_MALLOC We want to remove gcc.h eventually. This takes care of all the G_GNUC_MALLOC macros. --- src/strset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strset.c') diff --git a/src/strset.c b/src/strset.c index 475266370..eee5b2901 100644 --- a/src/strset.c +++ b/src/strset.c @@ -47,7 +47,7 @@ static unsigned calc_hash(const char *p) { return hash; } -mpd_malloc struct strset *strset_new(void) +G_GNUC_MALLOC struct strset *strset_new(void) { struct strset *set = xcalloc(1, sizeof(*set)); return set; -- cgit v1.2.3