Re-style do_setopt_accept_filter() to match uipc_accf.c style, and fix

one other style nit in the file.

MFC after:	3 days
This commit is contained in:
Robert Watson 2005-02-18 19:01:22 +00:00
parent 38765a3178
commit 11d06c4b78
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142060

View File

@ -126,7 +126,7 @@ accept_filt_generic_mod_event(module_t mod, int event, void *data)
{
struct accept_filter *p;
struct accept_filter *accfp = (struct accept_filter *) data;
int error;
int error;
switch (event) {
case MOD_LOAD:
@ -162,14 +162,12 @@ accept_filt_generic_mod_event(module_t mod, int event, void *data)
}
int
do_setopt_accept_filter(so, sopt)
struct socket *so;
struct sockopt *sopt;
do_setopt_accept_filter(struct socket *so, struct sockopt *sopt)
{
struct accept_filter_arg *afap;
struct accept_filter *afp;
struct so_accf *newaf;
int error = 0;
struct accept_filter_arg *afap;
struct accept_filter *afp;
struct so_accf *newaf;
int error = 0;
newaf = NULL;
afap = NULL;