From 48fa59c22e0b49bc347006738cc5dda9c6d13821 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Sat, 26 Aug 2017 22:43:42 +1200 Subject: Remove __PRETTY_FUNCTION__ This is pointlessly non-portable and completely equivilent to __func__ in C. --- xwayland/xwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xwayland/xwm.c') diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 3fa6cb98..94870a5a 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -52,7 +52,7 @@ static void wlr_x11_window_destroy(struct wlr_x11_window *window) { } /* xcb helpers */ -#define XCB_CALL(xwm, x) xcb_call(xwm, __PRETTY_FUNCTION__, __LINE__, x) +#define XCB_CALL(xwm, x) xcb_call(xwm, __func__, __LINE__, x) static bool xcb_call(struct wlr_xwm *xwm, const char *func, uint32_t line, xcb_void_cookie_t cookie) { xcb_generic_error_t *error; -- cgit v1.2.3