aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-02-21 10:22:58 +0100
committerGuido Günther <agx@sigxcpu.org>2018-02-21 10:25:52 +0100
commit2688f6163f5cce95302bb40ae35ff855ee1ccb1d (patch)
tree5fd6618ac30c81834ae3c4a9a1cfb71a0ed8765e /util
parent2e7d8862549a786c5aafcbe20db290377e3228ac (diff)
Rename _strip_path to wlr_strip_path
since it's a public function
Diffstat (limited to 'util')
-rw-r--r--util/log.c2
1 files changed, 1 insertions, 1 deletions
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;