aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2019-01-04 14:12:04 +0100
committerPeter Wu <peter@lekensteyn.nl>2019-01-04 14:21:56 +0000
commitbbf77f935e67c3f8fec776bbff275352a03ed617 (patch)
tree5a917bb0fcf44fd04bac05eb5cbe4bde8a6f7e97
parent905d87a28fe8fc61691373dddb16c57ebab0f58b (diff)
wsutil: fix code according to clang-tidy.
Change-Id: I7b4caed147c5813d7c9737c551b8bf1a7be48929 Reviewed-on: https://code.wireshark.org/review/31361 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
-rw-r--r--wsutil/str_util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wsutil/str_util.h b/wsutil/str_util.h
index dc1aa2c656..2abae48284 100644
--- a/wsutil/str_util.h
+++ b/wsutil/str_util.h
@@ -60,7 +60,7 @@ gchar *ascii_strup_inplace(gchar *str);
* @return TRUE if the entire string is printable, otherwise FALSE
*/
WS_DLL_PUBLIC
-gboolean isprint_string(const gchar *string);
+gboolean isprint_string(const gchar *str);
/** Check if an entire UTF-8 string consists of printable characters
*
@@ -69,7 +69,7 @@ gboolean isprint_string(const gchar *string);
* @return TRUE if the entire string is printable, otherwise FALSE
*/
WS_DLL_PUBLIC
-gboolean isprint_utf8_string(const gchar *string, guint length);
+gboolean isprint_utf8_string(const gchar *str, guint length);
/** Check if an entire string consists of digits
*
@@ -77,7 +77,7 @@ gboolean isprint_utf8_string(const gchar *string, guint length);
* @return TRUE if the entire string is digits, otherwise FALSE
*/
WS_DLL_PUBLIC
-gboolean isdigit_string(const guchar *string);
+gboolean isdigit_string(const guchar *str);
WS_DLL_PUBLIC
int ws_xton(char ch);