From c44296f9cfa2c36084ebd239bf238ac0bc7507d2 Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 18 May 2024 09:02:34 +0000 Subject: [PATCH] remove prototypes with no matching function --- usr.bin/systat/nfs.c | 3 +-- usr.bin/systat/pool.c | 3 +-- usr.bin/systat/systat.h | 5 +---- usr.bin/systat/uvm.c | 3 +-- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/usr.bin/systat/nfs.c b/usr.bin/systat/nfs.c index df6c9b9e97d..eb740f7729b 100644 --- a/usr.bin/systat/nfs.c +++ b/usr.bin/systat/nfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs.c,v 1.9 2023/04/19 12:58:15 jsg Exp $ */ +/* $OpenBSD: nfs.c,v 1.10 2024/05/18 09:02:34 jsg Exp $ */ /* * Copyright (c) 2009 Jasper Lievisse Adriaanse @@ -33,7 +33,6 @@ #include "systat.h" -int check_nfs(void); int select_client(void); int select_server(void); int read_nfs(void); diff --git a/usr.bin/systat/pool.c b/usr.bin/systat/pool.c index 5a87b6ba400..5f43ef8347a 100644 --- a/usr.bin/systat/pool.c +++ b/usr.bin/systat/pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pool.c,v 1.19 2019/06/28 13:35:04 deraadt Exp $ */ +/* $OpenBSD: pool.c,v 1.20 2024/05/18 09:02:34 jsg Exp $ */ /* * Copyright (c) 2008 Can Erkin Acar * @@ -146,7 +146,6 @@ int pool_cache_sort_req_callback(const void *, const void *); int pool_cache_sort_put_callback(const void *, const void *); int pool_cache_sort_lreq_callback(const void *, const void *); int pool_cache_sort_lput_callback(const void *, const void *); -int pool_cache_kbd_cb(int); field_def pool_cache_fields[] = { {"NAME", 12, 32, 1, FLD_ALIGN_LEFT, -1, 0, 0, 0}, diff --git a/usr.bin/systat/systat.h b/usr.bin/systat/systat.h index 776be5a2d51..08113a5b77d 100644 --- a/usr.bin/systat/systat.h +++ b/usr.bin/systat/systat.h @@ -1,4 +1,4 @@ -/* $OpenBSD: systat.h,v 1.25 2022/12/04 18:01:57 cheloha Exp $ */ +/* $OpenBSD: systat.h,v 1.26 2024/05/18 09:02:34 jsg Exp $ */ /* $NetBSD: systat.h,v 1.2 1995/01/20 08:52:14 jtc Exp $ */ /*- @@ -45,11 +45,8 @@ #define CF_LOADAV 0x2 /* display w/ load average */ #define FIELD_ADDR(struct, x) (&struct[x]) -#define KREAD(addr, buf, len) kvm_ckread((addr), (buf), (len)) #define NVAL(indx) namelist[(indx)].n_value #define NPTR(indx) (void *)NVAL((indx)) -#define NREAD(indx, buf, len) kvm_ckread(NPTR((indx)), (buf), (len)) -int kvm_ckread(void *, void *, size_t); extern char **dr_name; extern char hostname[]; diff --git a/usr.bin/systat/uvm.c b/usr.bin/systat/uvm.c index fbf8d6e2adb..401623f520a 100644 --- a/usr.bin/systat/uvm.c +++ b/usr.bin/systat/uvm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm.c,v 1.9 2024/05/01 12:54:27 mpi Exp $ */ +/* $OpenBSD: uvm.c,v 1.10 2024/05/18 09:02:34 jsg Exp $ */ /* * Copyright (c) 2008 Can Erkin Acar * Copyright (c) 2018 Kenneth R Westerback @@ -38,7 +38,6 @@ int read_uvm(void); int select_uvm(void); void print_uvmexp_field(field_def *, field_def *, int *, int *, const char *); -void print_uvmexp_line(int); struct uvmexp uvmexp; struct uvmexp last_uvmexp; -- 2.20.1