summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/imsg.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-21 23:28:40 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-21 23:28:40 +0000
commit8e0b585774b6f6f8a1adfd76e058c4b490311f6e (patch)
tree2a174067bd5ffb05383b2a6884ea5a2264713ec4 /usr.sbin/bgpd/imsg.c
parent6e837807704bcfce6bf07cdce480d9ee5e67cc78 (diff)
rename get_imsg() to imsg_get(); that's more consistent
Diffstat (limited to 'usr.sbin/bgpd/imsg.c')
-rw-r--r--usr.sbin/bgpd/imsg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/imsg.c b/usr.sbin/bgpd/imsg.c
index bdbf8498858..0424062d18c 100644
--- a/usr.sbin/bgpd/imsg.c
+++ b/usr.sbin/bgpd/imsg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imsg.c,v 1.7 2003/12/21 23:26:37 henning Exp $ */
+/* $OpenBSD: imsg.c,v 1.8 2003/12/21 23:28:39 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -45,7 +45,7 @@ imsg_init(struct imsgbuf *ibuf, int sock)
}
int
-get_imsg(struct imsgbuf *ibuf, struct imsg *imsg)
+imsg_get(struct imsgbuf *ibuf, struct imsg *imsg)
{
struct imsg_hdr *hdr;
ssize_t n, read_total = 0, datalen = 0;