summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2019-04-08 08:22:33 +0000
committerEric Faurot <eric@cvs.openbsd.org>2019-04-08 08:22:33 +0000
commitf6a64ba662cbfb88d84439f9240b5091bdb96266 (patch)
tree3eb5b6dc4b87257028f25357c91aeb384751a420 /usr.sbin
parentd9cf5838e40637f65547f6cad444bfe9c6d3084f (diff)
remove unused declarations
ok gilles@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtpd.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 0534e2c0571..46a4e6af4f6 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.620 2019/02/28 13:23:32 eric Exp $ */
+/* $OpenBSD: smtpd.h,v 1.621 2019/04/08 08:22:32 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -996,16 +996,6 @@ extern struct mproc *p_ca;
extern struct smtpd *env;
extern void (*imsg_callback)(struct mproc *, struct imsg *);
-struct imsgproc {
- pid_t pid;
- struct event ev;
- struct imsgbuf *ibuf;
- char *path;
- char *name;
- void (*cb)(struct imsg *, void *);
- void *cb_arg;
-};
-
/* inter-process structures */
struct bounce_req_msg {
@@ -1313,16 +1303,6 @@ RB_PROTOTYPE(expandtree, expandnode, nodes, expand_cmp);
int forwards_get(int, struct expand *);
-/* imsgproc.c */
-void imsgproc_init(void);
-struct imsgproc *imsgproc_fork(const char *, const char *,
- void (*)(struct imsg *, void *), void *);
-void imsgproc_set_read(struct imsgproc *);
-void imsgproc_set_write(struct imsgproc *);
-void imsgproc_set_read_write(struct imsgproc *);
-void imsgproc_reset_callback(struct imsgproc *, void (*)(struct imsg *, void *), void *);
-
-
/* limit.c */
void limit_mta_set_defaults(struct mta_limits *);
int limit_mta_set(struct mta_limits *, const char*, int64_t);