diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-02-21 12:17:30 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-02-21 20:18:02 +0000 |
commit | f3a68f00a1a9b7a3f28c6986713febaa81b92ba0 (patch) | |
tree | 8e7a1b3d321c4a0756ae885ab259c8862bd5979e /wsutil/ws_mempbrk.c | |
parent | e35aa1ff486fc89c16d657a78575c6eb54d8bdc8 (diff) |
Rename the slower-but-portable mempbrk to ws_mempbrk_portable_exec().
That parallels ws_mempbrk_sse42_exec().
Change-Id: I1662badc6d1efab5bdd827f29bbad3712464ec43
Reviewed-on: https://code.wireshark.org/review/7301
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil/ws_mempbrk.c')
-rw-r--r-- | wsutil/ws_mempbrk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/ws_mempbrk.c b/wsutil/ws_mempbrk.c index 9f517a990c..28f6a61f7b 100644 --- a/wsutil/ws_mempbrk.c +++ b/wsutil/ws_mempbrk.c @@ -55,7 +55,7 @@ tvb_pbrk_compile(tvb_pbrk_pattern* pattern, const gchar *needles) const guint8 * -ws_mempbrk_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 tvb_pbrk_pattern* pattern, guchar *found_needle) { const guint8 *haystack_end = haystack + haystacklen; @@ -80,7 +80,7 @@ tvb_pbrk_exec(const guint8* haystack, size_t haystacklen, const tvb_pbrk_pattern return ws_mempbrk_sse42_exec(haystack, haystacklen, pattern, found_needle); #endif - return ws_mempbrk_exec(haystack, haystacklen, pattern, found_needle); + return ws_mempbrk_portable_exec(haystack, haystacklen, pattern, found_needle); } |