mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Rename _strip_path to wlr_strip_path
since it's a public function
This commit is contained in:
parent
2e7d886254
commit
2688f6163f
3 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue