replaced mpd_malloc by G_GNUC_MALLOC

We want to remove gcc.h eventually. This takes care of all the
G_GNUC_MALLOC macros.
This commit is contained in:
Thomas Jansen
2008-12-02 02:33:24 +01:00
parent 2720585731
commit c252143d51
4 changed files with 12 additions and 13 deletions

View File

@@ -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;