summaryrefslogtreecommitdiffstats
path: root/include/helper.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-11-21 23:59:59 +0100
committerDave Davenport <qball@gmpclient.org>2015-11-21 23:59:59 +0100
commit8c9b72f34edb6cf2f3e8bd1b3d0efa36b0c05fff (patch)
treed2b001311d138a55af38e5c79d14b98ba72ef3da /include/helper.h
parent7dccd805eff65db75c5eb5b8767549a6728c379d (diff)
Start at fixing Issue 273, this might break some things.
* Only use get_display_data for displaying. (Except the select complete (ctrl-space), this needs fixing). * Fix possible race condition in parallelization. * Fix small bug in case-sensitive handling. (beware for collision in keybinding) * Keep less lists around.
Diffstat (limited to 'include/helper.h')
-rw-r--r--include/helper.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/helper.h b/include/helper.h
index 305e6d61..db9d684f 100644
--- a/include/helper.h
+++ b/include/helper.h
@@ -103,10 +103,7 @@ int find_arg ( const char * const key );
*
* @returns 1 when matches, 0 otherwise
*/
-int token_match ( char **tokens, const char *input, int not_ascii, int case_sensitive,
- __attribute__( ( unused ) ) unsigned int index,
- __attribute__( ( unused ) ) Switcher * data );
-
+int token_match ( char **tokens, const char *input, int not_ascii, int case_sensitive );
/**
* @param cmd The command to execute.
*