Subject: Re: lint errors about unused functions in header files.
To: Simon Burge <simonb@netbsd.org>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: tech-toolchain
Date: 05/09/2000 08:10:14
> 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
Looks like a lint bug to me.. (since our lint is supposed to accept
gcc extensions..)
- Bill