diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-02-08 08:20:55 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-02-08 08:20:55 +0000 |
commit | facbda4064c63f5b623105e6695f6fba948c9e23 (patch) | |
tree | bece9fa6732d43cd4d6fea137d88392624a11501 /usr.sbin/smtpd | |
parent | d26f04b300fc3a9e00a77de471fc6130c21229f5 (diff) |
usr.sbin: missing void to appease clang 15's -Wstrict-prototype.
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/bounce.c | 4 | ||||
-rw-r--r-- | usr.sbin/smtpd/ioev.c | 4 | ||||
-rw-r--r-- | usr.sbin/smtpd/mda.c | 6 | ||||
-rw-r--r-- | usr.sbin/smtpd/smtpd.c | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/smtpd/bounce.c b/usr.sbin/smtpd/bounce.c index 5d0dad68698..6028cbc5193 100644 --- a/usr.sbin/smtpd/bounce.c +++ b/usr.sbin/smtpd/bounce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bounce.c,v 1.86 2021/07/28 19:39:50 benno Exp $ */ +/* $OpenBSD: bounce.c,v 1.87 2023/02/08 08:20:54 tb Exp $ */ /* * Copyright (c) 2009 Gilles Chehade <gilles@poolp.org> @@ -236,7 +236,7 @@ bounce_timeout(int fd, short ev, void *arg) } static void -bounce_drain() +bounce_drain(void) { struct bounce_message *msg; struct timeval tv; diff --git a/usr.sbin/smtpd/ioev.c b/usr.sbin/smtpd/ioev.c index 31cb8746e02..da06a404fe5 100644 --- a/usr.sbin/smtpd/ioev.c +++ b/usr.sbin/smtpd/ioev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ioev.c,v 1.48 2021/06/14 17:58:15 eric Exp $ */ +/* $OpenBSD: ioev.c,v 1.49 2023/02/08 08:20:54 tb Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -224,7 +224,7 @@ io_frame_leave(struct io *io) } void -_io_init() +_io_init(void) { static int init = 0; diff --git a/usr.sbin/smtpd/mda.c b/usr.sbin/smtpd/mda.c index e347c68af34..edfd9886052 100644 --- a/usr.sbin/smtpd/mda.c +++ b/usr.sbin/smtpd/mda.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mda.c,v 1.143 2021/06/14 17:58:15 eric Exp $ */ +/* $OpenBSD: mda.c,v 1.144 2023/02/08 08:20:54 tb Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -370,12 +370,12 @@ mda_imsg(struct mproc *p, struct imsg *imsg) } void -mda_postfork() +mda_postfork(void) { } void -mda_postprivdrop() +mda_postprivdrop(void) { tree_init(&sessions); tree_init(&users); diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index 636c898f803..5949ce05522 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.c,v 1.343 2022/02/18 16:57:36 millert Exp $ */ +/* $OpenBSD: smtpd.c,v 1.344 2023/02/08 08:20:54 tb Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -308,7 +308,7 @@ parent_send_config_dispatcher(void) } void -parent_send_config_lka() +parent_send_config_lka(void) { log_debug("debug: parent_send_config_ruleset: reloading"); m_compose(p_lka, IMSG_CONF_START, 0, 0, -1, NULL, 0); |