aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-04-15 16:19:20 +0200
committerEvan Huus <eapache@gmail.com>2014-04-15 14:40:05 +0000
commit38d5b11fa21dd3da88cded8cc17183683569419c (patch)
treed2b02ddfd08e21026e905a7d1fcaddc7e03ed50d /epan/wmem
parent5c5a24f48a5fc0158aa069c42f10dda1229b6efe (diff)
Fix warning when build with -Wdocumentation
epan/wmem/wmem_strutl.h:85:63: error: parameter 'str' is already documented [-Werror,-Wdocumentation] epan/wmem/wmem_strutl.h:85:27: note: previous documentation epan/wmem/wmem_strutl.h:90:39: error: parameter 'str' is already documented [-Werror,-Wdocumentation] epan/wmem/wmem_strutl.h:85:57: note: previous documentation epan/wmem/wmem_strutl.h:83:11: error: parameter 'allocator:' not found in the function declaration epan/wmem/wmem_strutl.h:83:11: note: did you mean 'allocator'? epan/wmem/wmem_strutl.h:84:11: error: parameter 'str:' not found in the function declaration [-Werror,-Wdocumentation] epan/wmem/wmem_strutl.h:85:11: error: parameter 'len:' not found in the function declaration [-Werror,-Wdocumentation] epan/wmem/wmem_strutl.h:85:11: note: did you mean 'len'? Change-Id: Id2888c5967c94c48f9b53957c8be361bbebd3488 Reviewed-on: https://code.wireshark.org/review/1151 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/wmem')
-rw-r--r--epan/wmem/wmem_strutl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/wmem/wmem_strutl.h b/epan/wmem/wmem_strutl.h
index 71e92df5f9..93e8b33429 100644
--- a/epan/wmem/wmem_strutl.h
+++ b/epan/wmem/wmem_strutl.h
@@ -80,14 +80,14 @@ wmem_strsplit(wmem_allocator_t *allocator, const gchar *src,
/**
* wmem_ascii_strdown:
* Based on g_ascii_strdown
- * @param allocator: An enumeration of the different types of available allocators.
- * @param str: a string.
- * @param len: length of @param str in bytes, or -1 if @param str is nul-terminated.
+ * @param allocator An enumeration of the different types of available allocators.
+ * @param str a string.
+ * @param len length of str in bytes, or -1 if str is nul-terminated.
*
* Converts all upper case ASCII letters to lower case ASCII letters.
*
* Return value: a newly-allocated string, with all the upper case
- * characters in @param str converted to lower case, with
+ * characters in str converted to lower case, with
* semantics that exactly match g_ascii_tolower(). (Note
* that this is unlike the old g_strdown(), which modified
* the string in place.)