diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-09-16 17:58:14 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-09-16 17:58:14 +0000 |
commit | e77bb9ada09f611121a1f25212dba8df3db557b3 (patch) | |
tree | 2b2a467405820770bf9441bc5d87ed9d9932bf98 /usr.sbin/bgpd/imsg.c | |
parent | efa48c743d42e62992290a70cac6934c7ff421b1 (diff) |
imsg type is really an enum imsg_type and not an int
Diffstat (limited to 'usr.sbin/bgpd/imsg.c')
-rw-r--r-- | usr.sbin/bgpd/imsg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/imsg.c b/usr.sbin/bgpd/imsg.c index dd1eb7eb746..f172daf7a76 100644 --- a/usr.sbin/bgpd/imsg.c +++ b/usr.sbin/bgpd/imsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imsg.c,v 1.31 2004/09/16 17:36:29 henning Exp $ */ +/* $OpenBSD: imsg.c,v 1.32 2004/09/16 17:58:13 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -122,8 +122,8 @@ imsg_get(struct imsgbuf *ibuf, struct imsg *imsg) } int -imsg_compose(struct imsgbuf *ibuf, int type, u_int32_t peerid, pid_t pid, - int fd, void *data, u_int16_t datalen) +imsg_compose(struct imsgbuf *ibuf, enum imsg_type type, u_int32_t peerid, + pid_t pid, int fd, void *data, u_int16_t datalen) { struct buf *wbuf; int n; @@ -143,7 +143,7 @@ imsg_compose(struct imsgbuf *ibuf, int type, u_int32_t peerid, pid_t pid, } struct buf * -imsg_create(struct imsgbuf *ibuf, int type, u_int32_t peerid, +imsg_create(struct imsgbuf *ibuf, enum imsg_type type, u_int32_t peerid, pid_t pid, u_int16_t datalen) { struct buf *wbuf; |