Wireshark-commits: [Wireshark-commits] master 410f9f8: Don't define dvbci_event[] in a header, just

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 12 Jan 2016 04:03:22 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=410f9f8c09d7242f0a025c0c2354e26bc86c4007
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

410f9f8 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't define dvbci_event[] in a header, just declare it.
    
    Define it in a source file, and export it to other users. One instance
    suffices (and suppresses "defined but not used" errors from
    -Werror=unused-const-variable).
    
    Change-Id: I8b8d624344ec08c777d1869ee2692d535f898f19
    Reviewed-on: https://code.wireshark.org/review/13198
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  f6791c1   Stylistic and whitespace cleanups.
    adds  410f9f8   Don't define dvbci_event[] in a header, just declare it.


Summary of changes:
 epan/dissectors/packet-dvbci.c |    9 +++++++++
 epan/dissectors/packet-dvbci.h |   10 +---------
 2 files changed, 10 insertions(+), 9 deletions(-)