mu: don't use __FUNCTION__, use __func__

__FUNCTION__ is deprecated and gives compilation warnings. __func__ is
standardized in c99.
This commit is contained in:
djcb
2015-04-22 21:06:31 +03:00
parent 0ffbb2e5f6
commit 7eb244b3b0
19 changed files with 49 additions and 50 deletions

View File

@ -160,7 +160,7 @@ test_mu_flags_custom_from_str (void)
cust = mu_flags_custom_from_str (cases[u].str);
if (g_test_verbose())
g_print ("%s: str:%s; got:%s; expected:%s\n",
__FUNCTION__, cases[u].str, cust, cases[u].expected);
__func__, cases[u].str, cust, cases[u].expected);
g_assert_cmpstr (cust, ==, cases[u].expected);
g_free (cust);
}