mu: don't use __FUNCTION__, use __func__
__FUNCTION__ is deprecated and gives compilation warnings. __func__ is standardized in c99.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user