git: libkvm: Fix -Wunused-parameter warnings.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sun Apr 7 12:07:21 PDT 2019


commit 3e1bedabc638c8709111ab0e195537356ee757d2
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sat Apr 6 20:11:12 2019 +0300

    libkvm: Fix -Wunused-parameter warnings.
    
    Remove unused arguments for local functions.
    Add __unused attributes for public ones.

Summary of changes:
 lib/libkvm/kvm.c             |  4 ++--
 lib/libkvm/kvm_file.c        |  2 +-
 lib/libkvm/kvm_getswapinfo.c |  2 +-
 lib/libkvm/kvm_proc.c        | 14 ++++++--------
 4 files changed, 10 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3e1bedabc638c8709111ab0e195537356ee757d2


-- 
DragonFly BSD source repository



More information about the Commits mailing list