Wireshark-commits: [Wireshark-commits] master 2e76bb4: Use pid_t on UN*X, and HANDLE on Windows, fo
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2e76bb466a82110ca80d5d6d982842cf2f9cc964
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
2e76bb4 by Guy Harris (guy@xxxxxxxxxxxx):
Use pid_t on UN*X, and HANDLE on Windows, for the process ID.
This avoids type punning; at least with Xcode 7 beta on El Capitan beta,
that produces warnings that get turned into errors.
Change-Id: I57f47455b9630f359828c07c92a190b5cb33816f
Reviewed-on: https://code.wireshark.org/review/8862
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 3944e55 Clean up --with-qt handling.
adds 2e76bb4 Use pid_t on UN*X, and HANDLE on Windows, for the process ID.
Summary of changes:
capchild/capture_session.h | 8 +++++---
capchild/capture_sync.c | 24 +++++++++++-----------
capchild/capture_sync.h | 6 +++---
tshark.c | 4 ++--
ui/capture.c | 4 ++--
ui/gtk/gui_utils.c | 4 ++--
ui/qt/main_window.cpp | 4 ++--
ui/qt/main_window.h | 4 ++--
ui/ui_util.h | 4 +++-
wsutil/Makefile.common | 1 +
epan/dissectors/packet-a21.h => wsutil/process.h | 21 +++++++++++--------
11 files changed, 47 insertions(+), 37 deletions(-)
copy epan/dissectors/packet-a21.h => wsutil/process.h (77%)