aboutsummaryrefslogtreecommitdiffstats
path: root/src/strset.c
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-12-02 02:33:24 +0100
committerThomas Jansen <mithi@mithi.net>2008-12-02 02:33:24 +0100
commitc252143d5147e541a42bf7bb2530e12c62962576 (patch)
treef7b043b1e34c615b7b5db6de28b1ce3d239b6125 /src/strset.c
parent2720585731eb6a39fece86fb675a644b8ea803ae (diff)
downloadmpd-c252143d5147e541a42bf7bb2530e12c62962576.tar.gz
mpd-c252143d5147e541a42bf7bb2530e12c62962576.tar.xz
mpd-c252143d5147e541a42bf7bb2530e12c62962576.zip
replaced mpd_malloc by G_GNUC_MALLOC
We want to remove gcc.h eventually. This takes care of all the G_GNUC_MALLOC macros.
Diffstat (limited to 'src/strset.c')
-rw-r--r--src/strset.c2
1 files changed, 1 insertions, 1 deletions
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;