diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-02-21 12:39:00 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-02-21 20:39:25 +0000 |
commit | bfb432729156378d2f8fc8b666fda7e7b23e9749 (patch) | |
tree | 4c3e85ba30ff41319e48563ee0063c7b6e990f6c /wsutil/ws_mempbrk.c | |
parent | f3a68f00a1a9b7a3f28c6986713febaa81b92ba0 (diff) | |
download | wireshark-bfb432729156378d2f8fc8b666fda7e7b23e9749.tar.gz |
Remove tvb_ from the names of wsutil mempbrk routines.
Routines that don't take a tvbuff as an argument shouldn't have tvb_ in
the name.
Change-Id: I3550256551e30b3f329cbbfca71ef27c727d29c0
Reviewed-on: https://code.wireshark.org/review/7302
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil/ws_mempbrk.c')
-rw-r--r-- | wsutil/ws_mempbrk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wsutil/ws_mempbrk.c b/wsutil/ws_mempbrk.c index 28f6a61f7b..11b19e39ff 100644 --- a/wsutil/ws_mempbrk.c +++ b/wsutil/ws_mempbrk.c @@ -40,7 +40,7 @@ #include "ws_mempbrk_int.h" void -tvb_pbrk_compile(tvb_pbrk_pattern* pattern, const gchar *needles) +ws_mempbrk_compile(ws_mempbrk_pattern* pattern, const gchar *needles) { const gchar *n = needles; while (*n) { @@ -55,7 +55,7 @@ tvb_pbrk_compile(tvb_pbrk_pattern* pattern, const gchar *needles) const guint8 * -ws_mempbrk_portable_exec(const guint8* haystack, size_t haystacklen, const tvb_pbrk_pattern* pattern, guchar *found_needle) +ws_mempbrk_portable_exec(const guint8* haystack, size_t haystacklen, const ws_mempbrk_pattern* pattern, guchar *found_needle) { const guint8 *haystack_end = haystack + haystacklen; @@ -73,7 +73,7 @@ ws_mempbrk_portable_exec(const guint8* haystack, size_t haystacklen, const tvb_p WS_DLL_PUBLIC const guint8 * -tvb_pbrk_exec(const guint8* haystack, size_t haystacklen, const tvb_pbrk_pattern* pattern, guchar *found_needle) +ws_mempbrk_exec(const guint8* haystack, size_t haystacklen, const ws_mempbrk_pattern* pattern, guchar *found_needle) { #ifdef HAVE_SSE4_2 if (haystacklen >= 16 && pattern->use_sse42) |