Wireshark-commits: [Wireshark-commits] master-2.4 2dae20b: Fix function declaration of ws_buffer_le

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 04 May 2018 02:27:15 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2dae20b0d9fdc3a992e9e2ae693eb6ee28c4df22
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

2dae20b by Guy Harris (guy@xxxxxxxxxxxx):

    Fix function declaration of ws_buffer_length().
    
    This makes it match 1) the way the function is defined, if it is defined
    and 2) the type returned if it's a macro, not a function.
    
    Change-Id: I708a44d2d20f44e58d6ae0228a11e622e7648022
    Reviewed-on: https://code.wireshark.org/review/27320
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 0d9a7455a6c35b3573086bb53e790b3936c05063)
    Reviewed-on: https://code.wireshark.org/review/27322
    

Actions performed:

    from  ec5cdd6   prefs.c: fix compilation with gcc 8
    adds  2dae20b   Fix function declaration of ws_buffer_length().


Summary of changes:
 wsutil/buffer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)