From: eric Date: Mon, 8 Apr 2019 08:22:32 +0000 (+0000) Subject: remove unused declarations X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=255ddc57f34277137a648e563b34b9fe38d12460;p=openbsd remove unused declarations ok gilles@ --- 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 @@ -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);