summaryrefslogtreecommitdiff
path: root/tools/shared.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2019-03-06 20:16:41 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2019-03-14 11:28:05 +1000
commitd4f5faae0dd28ee37cdde55299ef76495c8439ce (patch)
tree938ea1b6a13deea79151182259b58aacb4df1437 /tools/shared.h
parentcbbd5b15c674e95f242929c0f6adb9dc3e88ec08 (diff)
downloadlibinput-d4f5faae0dd28ee37cdde55299ef76495c8439ce.tar.gz
tools: move the builddir lookup function out to a separate file
We want to use this from the tests as well soon, so let's move it to a more generic location. This also changes the API to be slightly more sensible, a free() is the same cost (and safer) than passing a static buffer in and hoping we didn't get the size wrong. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/shared.h')
-rw-r--r--tools/shared.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/shared.h b/tools/shared.h
index 7370d735..df7d6f15 100644
--- a/tools/shared.h
+++ b/tools/shared.h
@@ -123,7 +123,4 @@ tools_list_device_quirks(struct quirks_context *ctx,
void (*callback)(void *userdata, const char *str),
void *userdata);
-bool
-tools_execdir_is_builddir(char *execdir_out, size_t sz);
-
#endif