Subject: change in kernel compilation parameters?
To: None <current-users@netbsd.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 10/13/2006 10:11:37
This morning, I tried compiling a locally-written network driver and got
an error, despite not having touched the code in a long time:

/usr/src/sys/net/if_null.c: In function 'ifnullattach':
/usr/src/sys/net/if_null.c:113: warning: unused parameter 'count'

The code says

	/* ARGSUSED */
	void
	ifnullattach(count)
	        int count;
	{
 	       LIST_INIT(&null_softc_list);
        	if_clone_attach(&null_cloner);
	}

It seems that /* ARGSUSED */ is no longer being honored here.  What is the
proper way to handle this now, and why was the change made?


		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb