aboutsummaryrefslogtreecommitdiffstats
path: root/ui/preference_utils.h
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-08-10 21:30:54 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-08-10 21:30:54 +0000
commitb2b32effa42d0f8032f1152dd059f2d1c2c7455c (patch)
tree9b9ab03aa69a172c8117f06c7821f1e114aeb51c /ui/preference_utils.h
parent8c15ddff443b934251e091259ec9becb1bfe6c4f (diff)
Fix (-W)documentation error found by Clang
../ui/preference_utils.h:40:11: error: parameter 'pref:' not found in the function declaration [-Werror,-Wdocumentation] * @param pref: A preference. ^~~~~ ../ui/preference_utils.h:40:11: note: did you mean 'pref'? * @param pref: A preference. ^~~~~ pref ../ui/preference_utils.h:41:11: error: parameter 'unused:' not found in the function declaration [-Werror,-Wdocumentation] * @param unused: unused ^~~~~~~ ../ui/preference_utils.h:41:11: note: did you mean 'unused'? * @param unused: unused ^~~~~~~ unused ../ui/preference_utils.h:48:11: error: parameter 'pref:' not found in the function declaration [-Werror,-Wdocumentation] * @param pref: A preference. ^~~~~ ../ui/preference_utils.h:48:11: note: did you mean 'pref'? * @param pref: A preference. ^~~~~ pref ../ui/preference_utils.h:49:11: error: parameter 'changed_p:' not found in the function declaration [-Werror,-Wdocumentation] * @param changed_p: A pointer to a gboolean. Set to TRUE if the prefere... ^~~~~~~~~~ ../ui/preference_utils.h:49:11: note: did you mean 'changed_p'? * @param changed_p: A pointer to a gboolean. Set to TRUE if the prefere... ^~~~~~~~~~ changed_p ../ui/preference_utils.h:60:11: error: parameter 'unused:' not found in the function declaration [-Werror,-Wdocumentation] * @param unused: unused ^~~~~~~ ../ui/preference_utils.h:60:11: note: did you mean 'unused'? * @param unused: unused ^~~~~~~ unused svn path=/trunk/; revision=51274
Diffstat (limited to 'ui/preference_utils.h')
-rw-r--r--ui/preference_utils.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/preference_utils.h b/ui/preference_utils.h
index 8d8c23c7ce..a5bfae682b 100644
--- a/ui/preference_utils.h
+++ b/ui/preference_utils.h
@@ -37,16 +37,16 @@ extern "C" {
/** "Stash" a preference.
* Copy a preference to its stashed value. Can be called from prefs_pref_foreach().
*
- * @param pref: A preference.
- * @param unused: unused
+ * @param pref A preference.
+ * @param unused unused
*/
extern guint pref_stash(pref_t *pref, gpointer unused _U_);
/** "Untash" a preference.
* Set a preference to its stashed value. Can be called from prefs_pref_foreach().
*
- * @param pref: A preference.
- * @param changed_p: A pointer to a gboolean. Set to TRUE if the preference differs
+ * @param pref A preference.
+ * @param changed_p A pointer to a gboolean. Set to TRUE if the preference differs
* from its stashed value.
*
* @return Always returns 0.
@@ -57,7 +57,7 @@ extern guint pref_unstash(pref_t *pref, gpointer changed_p);
* Can be called from prefs_pref_foreach().
*
* @param pref A preference.
- * @param unused: unused
+ * @param unused unused
*
* @return Always returns 0.
*/