From: deraadt Date: Thu, 15 Oct 2015 20:47:11 +0000 (+0000) Subject: trivial KNF X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9107add51a07780851a1ad265273166af17c7c74;p=openbsd trivial KNF --- diff --git a/usr.sbin/rebound/rebound.c b/usr.sbin/rebound/rebound.c index 3446413c4e1..202f0ba229c 100644 --- a/usr.sbin/rebound/rebound.c +++ b/usr.sbin/rebound/rebound.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rebound.c,v 1.3 2015/10/15 20:13:57 tedu Exp $ */ +/* $OpenBSD: rebound.c,v 1.4 2015/10/15 20:47:11 deraadt Exp $ */ /* * Copyright (c) 2015 Ted Unangst * @@ -212,7 +212,8 @@ sendreply(int ud, struct request *req) } void -freerequest(struct request *req) { +freerequest(struct request *req) +{ TAILQ_REMOVE(&reqfifo, req, fifo); close(req->client); close(req->s); @@ -220,7 +221,8 @@ freerequest(struct request *req) { } void -freecacheent(struct dnscache *ent) { +freecacheent(struct dnscache *ent) +{ TAILQ_REMOVE(&cache, ent, cache); free(ent->req); free(ent->resp);