diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-08-24 00:39:56 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-08-24 00:39:56 +0200 |
commit | ef3c773097072282627f5d16079602ff7111dcd5 (patch) | |
tree | e086d7601896cd946398e731477d78a80f0f8f82 /include/helper.h | |
parent | ad53de507cfdafa53873d701b3d18a7704144b0a (diff) |
Constness.
Diffstat (limited to 'include/helper.h')
-rw-r--r-- | include/helper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/helper.h b/include/helper.h index 42c71297..fafce9ac 100644 --- a/include/helper.h +++ b/include/helper.h @@ -85,6 +85,7 @@ int find_arg_str ( const char * const key, char** val ); */ int find_arg ( const char * const key ); + /** * @param tokens List of (input) tokens to match. * @param input The entry to match against. @@ -93,8 +94,7 @@ int find_arg ( const char * const key ); * * @returns TRUE when matches, FALSE otherwise */ -int token_match ( GRegex **tokens, const char *input ); - +int token_match ( GRegex * const *tokens, const char *input ); /** * @param cmd The command to execute. * |