Wireshark-commits: [Wireshark-commits] master 8c86fbc: <string.h>, not <memory.h>, is the header fi

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 27 Feb 2015 22:55:58 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8c86fbc0be458546004462e8735fa93bc9dc3e01
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

8c86fbc by Guy Harris (guy@xxxxxxxxxxxx):

    <string.h>, not <memory.h>, is the header file for memcpy().
    
    Don't include <memory.h> when using memcpy(), include <string.h>.
    
    We don't need to check for memory.h, so don't do it in CMake (we don't
    explicitly check for it in autoconf, but it's checked for by some macro
    we do use).
    
    Change-Id: I7aa93d4ea93bab9beff597939d3c24aecda3d52e
    Reviewed-on: https://code.wireshark.org/review/7433
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  81fa9e0   wmem, unlike emem, doesn't use mmap(); remove some no-longer-needed checks.
    adds  8c86fbc   <string.h>, not <memory.h>, is the header file for memcpy().


Summary of changes:
 ConfigureChecks.cmake            |    1 -
 plugins/easy_codec/codec-g722.c  |    3 ++-
 plugins/easy_codec/codec-g7231.c |    3 ++-
 plugins/easy_codec/codec-g729a.c |    3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)