Rename _strip_path to wlr_strip_path

since it's a public function
This commit is contained in:
Guido Günther 2018-02-21 10:22:58 +01:00
parent 2e7d886254
commit 2688f6163f
3 changed files with 5 additions and 5 deletions

View file

@ -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;