about summary refs log tree commit diff stats
path: root/src/plugins/profapi.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-04 23:14:08 +0100
committerJames Booth <boothj5@gmail.com>2016-07-04 23:14:08 +0100
commitfd218ac3e443650a7b310d4f8cde758f08c0ed8c (patch)
treedc1efd227324d8d9aef9a7e6fd5a808a08c67ab3 /src/plugins/profapi.c
parent03c7ac73fd903a6c48658fd3c5e270d35f5a80c2 (diff)
downloadprofani-tty-fd218ac3e443650a7b310d4f8cde758f08c0ed8c.tar.gz
Pass plugin name to all autocompleter functions
Diffstat (limited to 'src/plugins/profapi.c')
-rw-r--r--src/plugins/profapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/profapi.c b/src/plugins/profapi.c
index 2f955ecb..20b8c26b 100644
--- a/src/plugins/profapi.c
+++ b/src/plugins/profapi.c
@@ -49,8 +49,8 @@ void (*_prof_register_command)(const char *filename, const char *command_name, i
 void (*_prof_register_timed)(const char *filename, void(*callback)(void), int interval_seconds) = NULL;
 
 void (*_prof_completer_add)(const char *filename, const char *key, char **items) = NULL;
-void (*prof_completer_remove)(const char *key, char **items) = NULL;
-void (*prof_completer_clear)(const char *key) = NULL;
+void (*_prof_completer_remove)(const char *filename, const char *key, char **items) = NULL;
+void (*_prof_completer_clear)(const char *filename, const char *key) = NULL;
 
 void (*prof_notify)(const char *message, int timeout_ms, const char *category) = NULL;