mirror of https://github.com/omar-polo/gmid.git
remove proc_forward_imsg since it's unused
This commit is contained in:
parent
6dec2ad700
commit
63e6b0bd0c
8
proc.c
8
proc.c
|
@ -799,14 +799,6 @@ proc_composev(struct privsep *ps, enum privsep_procid id,
|
|||
return (proc_composev_imsg(ps, id, -1, type, -1, -1, iov, iovcnt));
|
||||
}
|
||||
|
||||
int
|
||||
proc_forward_imsg(struct privsep *ps, struct imsg *imsg,
|
||||
enum privsep_procid id, int n)
|
||||
{
|
||||
return (proc_compose_imsg(ps, id, n, imsg->hdr.type,
|
||||
imsg->hdr.peerid, -1, imsg->data, IMSG_DATA_SIZE(imsg)));
|
||||
}
|
||||
|
||||
struct imsgbuf *
|
||||
proc_ibuf(struct privsep *ps, enum privsep_procid id, int n)
|
||||
{
|
||||
|
|
2
proc.h
2
proc.h
|
@ -114,8 +114,6 @@ int proc_composev_imsg(struct privsep *, enum privsep_procid, int,
|
|||
uint16_t, uint32_t, int, const struct iovec *, int);
|
||||
int proc_composev(struct privsep *, enum privsep_procid,
|
||||
uint16_t, const struct iovec *, int);
|
||||
int proc_forward_imsg(struct privsep *, struct imsg *,
|
||||
enum privsep_procid, int);
|
||||
struct imsgbuf *
|
||||
proc_ibuf(struct privsep *, enum privsep_procid, int);
|
||||
struct imsgev *
|
||||
|
|
Loading…
Reference in New Issue