diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-08-02 04:00:48 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-08-02 11:01:29 +0000 |
commit | 0734ac385fbf20cd350850265935a17402d05b84 (patch) | |
tree | dfe612dc7d522330bb4d7eb49e97d0fc73026dc7 /wiretap/cosine.c | |
parent | 41e322594bf5b0281e1f8ea317c1970dfc6b1954 (diff) | |
download | wireshark-0734ac385fbf20cd350850265935a17402d05b84.tar.gz wireshark-0734ac385fbf20cd350850265935a17402d05b84.tar.bz2 wireshark-0734ac385fbf20cd350850265935a17402d05b84.zip |
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/cosine.c')
-rw-r--r-- | wiretap/cosine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/cosine.c b/wiretap/cosine.c index 4b87d53578..fbf1c13842 100644 --- a/wiretap/cosine.c +++ b/wiretap/cosine.c @@ -447,8 +447,8 @@ parse_cosine_hex_dump(FILE_T fh, struct wtap_pkthdr *phdr, int pkt_len, int i, hex_lines, n, caplen = 0; /* Make sure we have enough room for the packet */ - buffer_assure_space(buf, COSINE_MAX_PACKET_LEN); - pd = buffer_start_ptr(buf); + ws_buffer_assure_space(buf, COSINE_MAX_PACKET_LEN); + pd = ws_buffer_start_ptr(buf); /* Calculate the number of hex dump lines, each * containing 16 bytes of data */ |