Diff between d5932ba1e6b83018245751cea61cba612d290bb9 and 507c457d3ce5dd5921b6eaffdb365a33ec086720

Changed Files

File Additions Deletions Status
android/client/if-main.h +2 -0 modified
android/client/tabcompletion.c +1 -1 modified

Full Patch

diff --git a/android/client/if-main.h b/android/client/if-main.h
index f638b91..647162c 100644
--- a/android/client/if-main.h
+++ b/android/client/if-main.h
@@ -141,6 +141,8 @@ void add_remote_device(const bt_bdaddr_t *addr);
 const struct interface *get_interface(const char *name);
 struct method *get_method(struct method *methods, const char *name);
 struct method *get_command(const char *name);
+const struct method *get_interface_method(const char *iname,
+							const char *mname);
 
 /* Helper macro for executing function on interface and printing BT_STATUS */
 #define EXEC(f, ...) \
diff --git a/android/client/tabcompletion.c b/android/client/tabcompletion.c
index 4a6329f..f965620 100644
--- a/android/client/tabcompletion.c
+++ b/android/client/tabcompletion.c
@@ -30,7 +30,7 @@ typedef struct split_arg {
 } split_arg_t;
 
 /* function returns method of given name or NULL if not found */
-static const struct method *get_interface_method(const char *iname,
+const struct method *get_interface_method(const char *iname,
 							const char *mname)
 {
 	const struct interface *iface = get_interface(iname);