Subject: lint errors about unused functions in header files.
To: None <tech-toolchain@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: tech-toolchain
Date: 05/09/2000 14:23:16
What's the right magic to shut lint up about the following warnings:

	/usr/include/machine/lock.h(61): warning: static function __cpu_simple_lock_init unused
	/usr/include/machine/lock.h(68): warning: static function __cpu_simple_lock unused
	/usr/include/machine/lock.h(80): warning: static function __cpu_simple_lock_try unused
	/usr/include/machine/lock.h(92): warning: static function __cpu_simple_unlock unused

where these functions are defined like:

	static __inline void
	__cpu_simple_lock_init(...)

Adding /* LINTLIBRARY */ didn't help (and would probably have been
overkill anyway).  It's almost like we want an /* FUNCUSED */ or
similar...

Simon.