aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/visual.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-08-02 04:00:48 -0700
committerGuy Harris <guy@alum.mit.edu>2014-08-02 11:01:29 +0000
commit0734ac385fbf20cd350850265935a17402d05b84 (patch)
treedfe612dc7d522330bb4d7eb49e97d0fc73026dc7 /wiretap/visual.c
parent41e322594bf5b0281e1f8ea317c1970dfc6b1954 (diff)
Rename buffer_ routines to ws_buffer_ to avoid name collisions.
In particular, epan/wslua/lrexlib.c has its own buffer_ routines, causing some linker warnings on some platforms, as reported in bug 10332. (Not to be backported to 1.12, as that would change the API and ABI of libwsutil and libwiretap. We should also make the buffer_ routines in epan/wslua/lrexlib.c static, which should also address this problem, but the name change avoids other potential namespace collisions.) Change-Id: I1d42c7d1778c7e4c019deb2608d476c52001ce28 Reviewed-on: https://code.wireshark.org/review/3351 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/visual.c')
-rw-r--r--wiretap/visual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/visual.c b/wiretap/visual.c
index 84b87be60f..23c76e59ca 100644
--- a/wiretap/visual.c
+++ b/wiretap/visual.c
@@ -573,7 +573,7 @@ visual_read_packet(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr,
be configured for auto-detect, in which case the encapsulation
hint is 13, and the encapsulation must be guessed from the
packet contents. Auto-detect is the default. */
- pd = buffer_start_ptr(buf);
+ pd = ws_buffer_start_ptr(buf);
/* If PPP is specified in the encap hint, then use that */
if (vpkt_hdr.encap_hint == 14)