Wireshark-commits: [Wireshark-commits] master 11c1024: wsutil: split libjsmn.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=11c10244ef5168a337d88611d61c5ebc88acd29e
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
11c1024 by Dario Lombardo (lomato@xxxxxxxxx):
wsutil: split libjsmn.
The libjsmn was imported into the tree and enhanced with a new
function. This change splits it into the "original" libjsmn and
an addictional module wsjsmn that contains the new function.
This will make easier to port within the tree future versions
of the library.
Change-Id: I3f1caa91bee462e0767e5e18d0b6a10f0b1cad32
Reviewed-on: https://code.wireshark.org/review/17963
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from 534787e cmake: make WERROR_COMMON_FLAGS a normal string
adds 11c1024 wsutil: split libjsmn.
Summary of changes:
debian/libwsutil0.symbols | 1 -
epan/dissectors/packet-json.c | 2 +-
wiretap/json.c | 2 +-
wsutil/CMakeLists.txt | 3 ++
wsutil/Makefile.am | 7 ++-
wsutil/jsmn.c | 105 ++++++++------------------------------
wsutil/jsmn.h | 93 +++++++++++++--------------------
wsutil/wsjsmn.c | 80 +++++++++++++++++++++++++++++
wsutil/{interface.h => wsjsmn.h} | 33 +++++++-----
9 files changed, 168 insertions(+), 158 deletions(-)
create mode 100644 wsutil/wsjsmn.c
copy wsutil/{interface.h => wsjsmn.h} (72%)