From: jsg Date: Sun, 19 May 2024 00:05:43 +0000 (+0000) Subject: remove prototypes with no matching function; ok ratchov@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=63371a7f711db8e8937c8c34d96755a3ce5997e8;p=openbsd remove prototypes with no matching function; ok ratchov@ --- diff --git a/usr.bin/sndiod/dev.h b/usr.bin/sndiod/dev.h index aeadb0ec9f8..6e7cdf66fa9 100644 --- a/usr.bin/sndiod/dev.h +++ b/usr.bin/sndiod/dev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.h,v 1.44 2024/04/22 10:39:51 ratchov Exp $ */ +/* $OpenBSD: dev.h,v 1.45 2024/05/19 00:05:43 jsg Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * @@ -301,7 +301,6 @@ int dev_init(struct dev *); void dev_done(struct dev *); int dev_ref(struct dev *); void dev_unref(struct dev *); -int dev_getpos(struct dev *); unsigned int dev_roundof(struct dev *, unsigned int); int dev_iscompat(struct dev *, struct dev *); @@ -366,7 +365,6 @@ int ctlslot_visible(struct ctlslot *, struct ctl *); struct ctl *ctlslot_lookup(struct ctlslot *, int); void ctlslot_update(struct ctlslot *); -void dev_label(struct dev *, int); void dev_ctlsync(struct dev *); #endif /* !defined(DEV_H) */ diff --git a/usr.bin/sndiod/file.h b/usr.bin/sndiod/file.h index 33a366e807b..631212f2224 100644 --- a/usr.bin/sndiod/file.h +++ b/usr.bin/sndiod/file.h @@ -1,4 +1,4 @@ -/* $OpenBSD: file.h,v 1.5 2016/01/08 16:17:31 ratchov Exp $ */ +/* $OpenBSD: file.h,v 1.6 2024/05/19 00:05:43 jsg Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * @@ -70,7 +70,6 @@ void timo_del(struct timo *); void filelist_init(void); void filelist_done(void); -void filelist_unlisten(void); struct file *file_new(struct fileops *, void *, char *, unsigned int); void file_del(struct file *); diff --git a/usr.bin/sndiod/midi.c b/usr.bin/sndiod/midi.c index 3290e6b5f75..f2058f0956d 100644 --- a/usr.bin/sndiod/midi.c +++ b/usr.bin/sndiod/midi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: midi.c,v 1.30 2024/05/03 05:18:09 ratchov Exp $ */ +/* $OpenBSD: midi.c,v 1.31 2024/05/19 00:05:43 jsg Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * @@ -32,7 +32,6 @@ void port_imsg(void *, unsigned char *, int); void port_omsg(void *, unsigned char *, int); void port_fill(void *, int); void port_exit(void *); -void port_exitall(struct port *); struct midiops port_midiops = { port_imsg, diff --git a/usr.bin/sndiod/siofile.h b/usr.bin/sndiod/siofile.h index c34f922d523..0b570091df7 100644 --- a/usr.bin/sndiod/siofile.h +++ b/usr.bin/sndiod/siofile.h @@ -1,4 +1,4 @@ -/* $OpenBSD: siofile.h,v 1.5 2021/11/01 14:43:25 ratchov Exp $ */ +/* $OpenBSD: siofile.h,v 1.6 2024/05/19 00:05:43 jsg Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * @@ -39,7 +39,6 @@ struct dev_sio { int dev_sio_open(struct dev *); void dev_sio_close(struct dev *); -void dev_sio_log(struct dev *); void dev_sio_start(struct dev *); void dev_sio_stop(struct dev *);