From 2688f6163f5cce95302bb40ae35ff855ee1ccb1d Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Wed, 21 Feb 2018 10:22:58 +0100 Subject: Rename _strip_path to wlr_strip_path since it's a public function --- util/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/log.c b/util/log.c index 327402e6..2adcae2d 100644 --- a/util/log.c +++ b/util/log.c @@ -73,7 +73,7 @@ void _wlr_log(log_importance_t verbosity, const char *fmt, ...) { // e.g. '/src/build/wlroots/backend/wayland/backend.c' and // '../backend/wayland/backend.c' will both be stripped to // 'backend/wayland/backend.c' -const char *_strip_path(const char *filepath) { +const char *wlr_strip_path(const char *filepath) { static int srclen = sizeof(WLR_SRC_DIR); if (strstr(filepath, WLR_SRC_DIR) == filepath) { filepath += srclen; -- cgit v1.2.3