diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-21 05:00:49 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-21 05:00:49 +0000 |
commit | 9299db4d45f255b8fe176a23e4b33db8d85f5508 (patch) | |
tree | 93bb0788559a24bc5c8049b026b4d45a3c324cf9 /libexec | |
parent | 2b420f805f31d3140396e09beb8a7a98056d23af (diff) |
remove prototypes with no matching function and externs with no var
partly checked by millert@
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ftpd/extern.h | 4 | ||||
-rw-r--r-- | libexec/ld.so/resolve.h | 4 | ||||
-rw-r--r-- | libexec/mail.local/mail.local.h | 3 | ||||
-rw-r--r-- | libexec/rpc.rquotad/rquotad.c | 3 |
4 files changed, 4 insertions, 10 deletions
diff --git a/libexec/ftpd/extern.h b/libexec/ftpd/extern.h index 8c475a61bca..9674ff13472 100644 --- a/libexec/ftpd/extern.h +++ b/libexec/ftpd/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.24 2024/05/20 01:05:17 jsg Exp $ */ +/* $OpenBSD: extern.h,v 1.25 2024/05/21 05:00:47 jsg Exp $ */ /* $NetBSD: extern.h,v 1.2 1995/04/11 02:44:49 cgd Exp $ */ /* @@ -61,8 +61,6 @@ * @(#)extern.h 8.2 (Berkeley) 4/4/94 */ -void blkfree(char **); -char **copyblk(char **); void cwd(char *); void delete(const char *); void dologout(int); diff --git a/libexec/ld.so/resolve.h b/libexec/ld.so/resolve.h index 0b3278e6f7a..67f545d5445 100644 --- a/libexec/ld.so/resolve.h +++ b/libexec/ld.so/resolve.h @@ -1,4 +1,4 @@ -/* $OpenBSD: resolve.h,v 1.107 2024/01/16 19:07:31 deraadt Exp $ */ +/* $OpenBSD: resolve.h,v 1.108 2024/05/21 05:00:47 jsg Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -322,7 +322,6 @@ void _dl_link_grpsym(elf_object_t *object); void _dl_cache_grpsym_list_setup(elf_object_t *_object); void _dl_link_grpref(elf_object_t *load_group, elf_object_t *load_object); void _dl_link_dlopen(elf_object_t *dep); -void _dl_unlink_dlopen(elf_object_t *dep); void _dl_notify_unload_shlib(elf_object_t *object); void _dl_unload_shlib(elf_object_t *object); void _dl_unload_dlopen(void); @@ -333,7 +332,6 @@ int _dl_match_file(struct sod *sodp, const char *name, int namelen); char *_dl_find_shlib(struct sod *sodp, char **searchpath, int nohints); void _dl_load_list_free(struct load_list *load_list); -void _dl_find_immutables(int type, elf_object_t *object, Elf_Ehdr *); void _dl_push_range_size(struct range_vector *v, vaddr_t start, vsize_t len); void _dl_apply_immutable(elf_object_t *object); diff --git a/libexec/mail.local/mail.local.h b/libexec/mail.local/mail.local.h index bc3137cb683..29b433de9d4 100644 --- a/libexec/mail.local/mail.local.h +++ b/libexec/mail.local/mail.local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mail.local.h,v 1.7 2020/02/09 14:59:21 millert Exp $ */ +/* $OpenBSD: mail.local.h,v 1.8 2024/05/21 05:00:47 jsg Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -29,7 +29,6 @@ * SUCH DAMAGE. */ -void baditem(char *); int deliver(int, char *, int); void merr(int, const char *, ...); void mwarn(const char *, ...); diff --git a/libexec/rpc.rquotad/rquotad.c b/libexec/rpc.rquotad/rquotad.c index e62abda5caf..7b2568c1ede 100644 --- a/libexec/rpc.rquotad/rquotad.c +++ b/libexec/rpc.rquotad/rquotad.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rquotad.c,v 1.25 2023/03/08 04:43:05 guenther Exp $ */ +/* $OpenBSD: rquotad.c,v 1.26 2024/05/21 05:00:47 jsg Exp $ */ /* * by Manuel Bouyer (bouyer@ensta.fr). Public domain. @@ -30,7 +30,6 @@ void rquota_service(struct svc_req *request, SVCXPRT *transp); void sendquota(struct svc_req *request, SVCXPRT *transp); -void printerr_reply(SVCXPRT *transp); void initfs(void); int getfsquota(long id, char *path, struct dqblk *dqblk); int hasquota(struct fstab *fs, char **qfnamep); |