diff options
author | wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
commit | f9fc827448679cf1d41e56512c34521bf06ce37a (patch) | |
tree | 6b83fdf6eb5926c2f3d175a83d24bf5a2611a012 /sys/i386/include/cpufunc.h | |
parent | 44fc281f480837836035856eb0af25443f0d2146 (diff) | |
download | FreeBSD-src-f9fc827448679cf1d41e56512c34521bf06ce37a.zip FreeBSD-src-f9fc827448679cf1d41e56512c34521bf06ce37a.tar.gz |
Fix up some sloppy coding practices:
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
Diffstat (limited to 'sys/i386/include/cpufunc.h')
-rw-r--r-- | sys/i386/include/cpufunc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h index 77f9213..8c99782 100644 --- a/sys/i386/include/cpufunc.h +++ b/sys/i386/include/cpufunc.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cpufunc.h,v 1.15 1994/08/11 02:26:08 jkh Exp $ + * $Id: cpufunc.h,v 1.16 1994/08/13 03:49:49 wollman Exp $ */ /* @@ -153,6 +153,7 @@ void load_cr0 __P((u_int cr0)); u_int rcr0 __P((void)); void load_cr3(u_long); u_long rcr3(void); +extern void DELAY(int); void setidt __P((int, void (*)(), int, int)); extern u_long kvtop(void *); |