From: jsg Date: Tue, 21 May 2024 11:13:08 +0000 (+0000) Subject: remove prototypes with no matching function X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e1cb6e2e7f57231c67f21eb1d6cc98282752af56;p=openbsd remove prototypes with no matching function --- diff --git a/lib/libkeynote/assertion.h b/lib/libkeynote/assertion.h index 9ec28fc2920..386864440b1 100644 --- a/lib/libkeynote/assertion.h +++ b/lib/libkeynote/assertion.h @@ -1,4 +1,4 @@ -/* $OpenBSD: assertion.h,v 1.5 2003/06/26 23:19:53 deraadt Exp $ */ +/* $OpenBSD: assertion.h,v 1.6 2024/05/21 11:13:08 jsg Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) * @@ -156,7 +156,6 @@ extern int keynote_in_action_authorizers(void *, int); extern struct keynote_session *keynote_find_session(int); extern void keynote_keylist_free(struct keylist *); extern void keynote_free_env(struct environment *); -extern int keynote_in_authorizers(void *, int); extern int keynote_sremove_assertion(int, int); extern unsigned int keynote_stringhash(char *, unsigned int); extern char *keynote_get_private_key(char *); diff --git a/lib/libkvm/kvm_private.h b/lib/libkvm/kvm_private.h index f3780055ac8..7c92d0ecdb0 100644 --- a/lib/libkvm/kvm_private.h +++ b/lib/libkvm/kvm_private.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_private.h,v 1.26 2018/05/03 15:47:41 zhuk Exp $ */ +/* $OpenBSD: kvm_private.h,v 1.27 2024/05/21 11:13:08 jsg Exp $ */ /* $NetBSD: kvm_private.h,v 1.7 1996/05/05 04:32:15 gwr Exp $ */ /*- @@ -99,7 +99,6 @@ struct __kvm { __BEGIN_HIDDEN_DECLS void _kvm_err(kvm_t *kd, const char *program, const char *fmt, ...) __attribute__((__format__ (printf, 3, 4))); -int _kvm_dump_mkheader(kvm_t *kd_live, kvm_t *kd_dump); void _kvm_freevtop(kvm_t *); int _kvm_initvtop(kvm_t *); int _kvm_kvatop(kvm_t *, u_long, paddr_t *); diff --git a/lib/libpcap/gencode.h b/lib/libpcap/gencode.h index 81a886fd65c..21e3c485c21 100644 --- a/lib/libpcap/gencode.h +++ b/lib/libpcap/gencode.h @@ -1,4 +1,4 @@ -/* $OpenBSD: gencode.h,v 1.21 2020/08/03 03:40:02 dlg Exp $ */ +/* $OpenBSD: gencode.h,v 1.22 2024/05/21 11:13:08 jsg Exp $ */ /* * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996 @@ -189,7 +189,6 @@ struct block *gen_pf_srnr(int); struct block *gen_pf_ruleset(char *); struct block *gen_pf_reason(int); struct block *gen_pf_action(int); -struct block *gen_pf_dir(int); struct block *gen_p80211_type(int, int); struct block *gen_p80211_fcdir(int); diff --git a/lib/libskey/skey.h b/lib/libskey/skey.h index 45bb2c66b55..30e4ea51466 100644 --- a/lib/libskey/skey.h +++ b/lib/libskey/skey.h @@ -10,7 +10,7 @@ * * Main client header * - * $OpenBSD: skey.h,v 1.22 2019/01/25 00:19:26 millert Exp $ + * $OpenBSD: skey.h,v 1.23 2024/05/21 11:13:08 jsg Exp $ */ #ifndef _SKEY_H_ @@ -71,7 +71,6 @@ int skeychallenge(struct skey *, char *, char *); int skeychallenge2(int, struct skey *, char *, char *); int skeylookup(struct skey *, char *); int skeyverify(struct skey *, char *); -int skeyzero(struct skey *); void sevenbit(char *); void backspace(char *); char *skipspace(char *);