Wireshark-commits: [Wireshark-commits] master 3d62d2c: Move popcount() to an optionally built part

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 23 Dec 2014 00:22:26 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3d62d2c396aa016d97f788205978f4fdba2d4d4b
Submitter: Stephen Fisher (sfisher@xxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

3d62d2c by Stephen Fisher (sfisher@xxxxxxx):

    Move popcount() to an optionally built part of wsutil for systems that
    provide their own popcount().
    
    Change-Id: Ic26f3b50cf0bd2b4af0d42e9c27488ebbac1ab33
    Reviewed-on: https://code.wireshark.org/review/5998
    Petri-Dish: Stephen Fisher <sfisher@xxxxxxx>
    Reviewed-by: Stephen Fisher <sfisher@xxxxxxx>
    

Actions performed:

    from  59b4ab5   Include <math.h> or <stdlib.h> as necessary to declare functions.
    adds  3d62d2c   Move popcount() to an optionally built part of wsutil for systems that provide their own popcount().


Summary of changes:
 configure.ac                                      |    8 ++++++
 epan/dissectors/packet-x11.c                      |   19 +++-----------
 wsutil/Makefile.am                                |    3 +++
 wsutil/{floorl.c => popcount.c}                   |   28 ++++++++++++---------
 epan/dissectors/packet-i2c.h => wsutil/popcount.h |   14 ++++++-----
 5 files changed, 39 insertions(+), 33 deletions(-)
 copy wsutil/{floorl.c => popcount.c} (64%)
 copy epan/dissectors/packet-i2c.h => wsutil/popcount.h (84%)