aboutsummaryrefslogtreecommitdiff
path: root/lib/substitute-internal.h
diff options
context:
space:
mode:
authorYifan Lu2016-10-23 11:10:50 -0700
committerYifan Lu2016-10-23 11:10:50 -0700
commitc2d864c53c26b4b168b32fa18bf7f5dfbefb30de (patch)
tree5269c46175114c0a722e05aa7f90b0ed17f771b3 /lib/substitute-internal.h
parentAdded execmem foreign write for Vita (diff)
downloadsubstitute-c2d864c53c26b4b168b32fa18bf7f5dfbefb30de.tar.gz
Fixed warning about unused function
Fixed warning about incompatible types
Diffstat (limited to '')
-rw-r--r--lib/substitute-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/substitute-internal.h b/lib/substitute-internal.h
index c9b78f0..3e0691d 100644
--- a/lib/substitute-internal.h
+++ b/lib/substitute-internal.h
@@ -104,7 +104,7 @@ int substitute_dlopen_in_pid(int pid, const char *filename, int options,
int substitute_ios_unrestrict(task_t task, char **error);
#endif
-static const char *xbasename(const char *path) {
+static UNUSED const char *xbasename(const char *path) {
const char *slash = strrchr(path, '/');
return slash ? slash + 1 : path;
}