Wireshark-commits: [Wireshark-commits] master 741db4c: Get rid of another global in the print code.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 22 Nov 2014 09:07:51 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=741db4c751b44bfa4ab2dc0cb4bd882d4732c55c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

741db4c by Guy Harris (guy@xxxxxxxxxxxx):

    Get rid of another global in the print code.
    
    Pass the "output only these protocols" hash table as an argument,
    instead.
    
    Change-Id: Id8540943037e7b9bbfe377120c3f60dbe54fe0f1
    Reviewed-on: https://code.wireshark.org/review/5440
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  c68e77b   Pass a capture_file * to write_psml_preamble() in tfshark as well.
    adds  741db4c   Get rid of another global in the print code.


Summary of changes:
 epan/print.c |   10 +++++-----
 epan/print.h |   11 ++++-------
 file.c       |    2 +-
 tfshark.c    |    4 +++-
 tshark.c     |    4 +++-
 5 files changed, 16 insertions(+), 15 deletions(-)