Wireshark-commits: [Wireshark-commits] master cc4710a: Also define LONGOPT_CAPTURE_COMMON as nothin

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 20 Jun 2014 21:39:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cc4710ac5fde8f7e524637e41185eacd1aafabcd
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

cc4710a by Guy Harris (guy@xxxxxxxxxxxx):

    Also define LONGOPT_CAPTURE_COMMON as nothing if we don't have pcap.
    
    While we're at it, simplify the #ifdefs and #defines in capture_opts.h -
    don't do the same tests twice.
    
    Change-Id: I2079167f31789470ef77120054d769d5914745e3
    Reviewed-on: https://code.wireshark.org/review/2496
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  5537c53   "-d" isn't common to all capturing programs, it's dumpcap-specific.
    adds  cc4710a   Also define LONGOPT_CAPTURE_COMMON as nothing if we don't have pcap.


Summary of changes:
 capture_opts.h |   34 +++++++++++-----------------------
 tshark.c       |    9 +++++----
 ui/qt/main.cpp |    1 +
 3 files changed, 17 insertions(+), 27 deletions(-)