summaryrefslogtreecommitdiff
path: root/providers/enchant_hunspell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'providers/enchant_hunspell.cpp')
-rw-r--r--providers/enchant_hunspell.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/providers/enchant_hunspell.cpp b/providers/enchant_hunspell.cpp
index f0156a2..cc7934d 100644
--- a/providers/enchant_hunspell.cpp
+++ b/providers/enchant_hunspell.cpp
@@ -43,7 +43,6 @@
#include <vector>
#include "enchant-provider.h"
-#include "unused-parameter.h"
#include <hunspell/hunspell.hxx>
// hunspell itself uses this definition (which only supports the BMP)
@@ -411,7 +410,7 @@ hunspell_provider_enum_dicts (const char * const directory,
extern "C" {
static char **
-hunspell_provider_list_dicts (EnchantProvider * me _GL_UNUSED_PARAMETER,
+hunspell_provider_list_dicts (EnchantProvider * me _GL_UNUSED,
size_t * out_n_dicts)
{
std::vector<std::string> dict_dirs, dicts;
@@ -436,7 +435,7 @@ hunspell_provider_list_dicts (EnchantProvider * me _GL_UNUSED_PARAMETER,
}
static EnchantDict *
-hunspell_provider_request_dict(EnchantProvider * me _GL_UNUSED_PARAMETER, const char *const tag)
+hunspell_provider_request_dict(EnchantProvider * me _GL_UNUSED, const char *const tag)
{
HunspellChecker * checker = new HunspellChecker();
@@ -460,7 +459,7 @@ hunspell_provider_request_dict(EnchantProvider * me _GL_UNUSED_PARAMETER, const
}
static void
-hunspell_provider_dispose_dict (EnchantProvider * me _GL_UNUSED_PARAMETER, EnchantDict * dict)
+hunspell_provider_dispose_dict (EnchantProvider * me _GL_UNUSED, EnchantDict * dict)
{
HunspellChecker *checker = (HunspellChecker *) dict->user_data;
delete checker;
@@ -469,7 +468,7 @@ hunspell_provider_dispose_dict (EnchantProvider * me _GL_UNUSED_PARAMETER, Encha
}
static int
-hunspell_provider_dictionary_exists (struct str_enchant_provider * me _GL_UNUSED_PARAMETER,
+hunspell_provider_dictionary_exists (struct str_enchant_provider * me _GL_UNUSED,
const char *const tag)
{
std::vector <std::string> names;
@@ -492,13 +491,13 @@ hunspell_provider_dispose (EnchantProvider * me)
}
static const char *
-hunspell_provider_identify (EnchantProvider * me _GL_UNUSED_PARAMETER)
+hunspell_provider_identify (EnchantProvider * me _GL_UNUSED)
{
return "hunspell";
}
static const char *
-hunspell_provider_describe (EnchantProvider * me _GL_UNUSED_PARAMETER)
+hunspell_provider_describe (EnchantProvider * me _GL_UNUSED)
{
return "Hunspell Provider";
}