diff options
author | Esben Norby <norby@cvs.openbsd.org> | 2006-02-01 18:31:48 +0000 |
---|---|---|
committer | Esben Norby <norby@cvs.openbsd.org> | 2006-02-01 18:31:48 +0000 |
commit | aa6f6722c5e2b167e71989b5ae1abf5991f01217 (patch) | |
tree | d0a06ce92bfd93e092f9136311a720922221bd7e /usr.sbin/ospfd/imsg.c | |
parent | a20668b413d0d6b853fc2c680dad060a4cec6fce (diff) |
zap unused function.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/imsg.c')
-rw-r--r-- | usr.sbin/ospfd/imsg.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/usr.sbin/ospfd/imsg.c b/usr.sbin/ospfd/imsg.c index 16f0dccb3a4..b4270db7a2a 100644 --- a/usr.sbin/ospfd/imsg.c +++ b/usr.sbin/ospfd/imsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imsg.c,v 1.4 2005/04/26 15:18:22 henning Exp $ */ +/* $OpenBSD: imsg.c,v 1.5 2006/02/01 18:31:47 norby Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -203,19 +203,3 @@ imsg_free(struct imsg *imsg) { free(imsg->data); } - -int -imsg_get_fd(struct imsgbuf *ibuf) -{ - int fd; - struct imsg_fd *ifd; - - if ((ifd = TAILQ_FIRST(&ibuf->fds)) == NULL) - return (-1); - - fd = ifd->fd; - TAILQ_REMOVE(&ibuf->fds, ifd, entry); - free(ifd); - - return (fd); -} |