Wireshark-commits: [Wireshark-commits] master d08d0a8: Eliminate some unneeded header checks.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 16 May 2018 22:03:19 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d08d0a87c5dd20d8626649693a81279415f47c22
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d08d0a8 by Guy Harris (guy@xxxxxxxxxxxx):

    Eliminate some unneeded header checks.
    
    sys/stat.h and sys/types.h date back to V7 UNIX, so they should be
    present on all UN*Xes, and we're assuming they're available on Windows,
    so, unless and until we ever support platforms that are neither UN*Xes
    nor Windows, we don't need to check for them.
    
    Remove the CMake checks for them, remove the HAVE_ values from
    cmakeconfig.h.in, and remove all tests for the HAVE_ values.
    
    Change-Id: I90bb2aab37958553673b03b52f4931d3b304b9d0
    Reviewed-on: https://code.wireshark.org/review/27603
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  054a7e4   Qt: Fix a memory leak.
    adds  d08d0a8   Eliminate some unneeded header checks.


Summary of changes:
 CMakeLists.txt                     | 1 -
 ConfigureChecks.cmake              | 2 --
 capture_opts.h                     | 4 +---
 caputils/capture-pcap-util.c       | 4 +---
 cmakeconfig.h.in                   | 6 ------
 dumpcap.c                          | 4 +---
 epan/tap.c                         | 4 +---
 extcap.c                           | 2 --
 file.c                             | 4 +---
 ui/qt/interface_toolbar_reader.cpp | 2 --
 wiretap/mime_file.c                | 2 --
 wiretap/mp2t.c                     | 2 --
 wiretap/mpeg.c                     | 2 --
 wiretap/nettrace_3gpp_32_423.c     | 2 --
 wiretap/wtap.c                     | 2 --
 wsutil/file_util.h                 | 2 --
 wsutil/inet_addr.c                 | 2 --
 wsutil/interface.c                 | 4 +---
 wsutil/privileges.c                | 4 +---
 19 files changed, 7 insertions(+), 48 deletions(-)