Wireshark-commits: [Wireshark-commits] master 42cf565: dtd: fix build due to -Wtypedef-redefinition

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 24 Feb 2017 19:22:37 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=42cf565b50badec2b23e0a38bfff3749448ac98f
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

42cf565 by Peter Wu (peter@xxxxxxxxxxxxx):

    dtd: fix build due to -Wtypedef-redefinition
    
    dtd.h defines the type, so avoid redefining to avoid this warning:
    
        epan/dtd_preparse.l:113:3: warning: redefinition of typedef 'Dtd_PreParse_scanner_state_t' is a C11 feature [-Wtypedef-redefinition]
    
    Change-Id: Id6dddb8fe082717b483a6eeae08dfde468c19c89
    Fixes: v2.3.0rc0-2505-ge1282f2875 ("dtd: free memory on shutdown.")
    Reviewed-on: https://code.wireshark.org/review/20266
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  e1282f2   dtd: free memory on shutdown.
    adds  42cf565   dtd: fix build due to -Wtypedef-redefinition


Summary of changes:
 epan/dtd_preparse.l |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)