Minor changes to prototypes.

This commit is contained in:
christos 1999-01-28 20:22:31 +00:00
parent 63546de24a
commit 9fa73628c9
3 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootinfo_biosgeom.c,v 1.2 1999/01/27 20:54:57 thorpej Exp $ */
/* $NetBSD: bootinfo_biosgeom.c,v 1.3 1999/01/28 20:22:31 christos Exp $ */
/*
* Copyright (c) 1997
@ -48,7 +48,7 @@ void bi_getbiosgeom()
struct btinfo_biosgeom *bibg;
int i;
pvbcopy(0x400 + 0x75, &nhd, 1); /* from BIOS data area */
pvbcopy((void *)(0x400 + 0x75), &nhd, 1); /* from BIOS data area */
if(nhd == 0 || nhd > 4 /* ??? */ )
return;

View File

@ -1,4 +1,4 @@
/* $NetBSD: libi386.h,v 1.7 1998/08/13 17:41:11 rvb Exp $ */
/* $NetBSD: libi386.h,v 1.8 1999/01/28 20:22:32 christos Exp $ */
/*
* Copyright (c) 1996
@ -35,12 +35,12 @@
typedef unsigned long physaddr_t;
/* this is in startup code */
void vpbcopy __P((void*, physaddr_t, int));
void pvbcopy __P((physaddr_t, void*, int));
void pbzero __P((physaddr_t, int));
void vpbcopy __P((const void *, void *, size_t));
void pvbcopy __P((const void *, void *, size_t));
void pbzero __P((void *, size_t));
physaddr_t vtophys __P((void*));
int pread __P((int, physaddr_t, int));
ssize_t pread __P((int, void *, size_t));
void startprog __P((physaddr_t, int, unsigned long*, physaddr_t));
int exec_netbsd __P((const char*, physaddr_t, int));

View File

@ -1,4 +1,4 @@
/* $NetBSD: pread.c,v 1.2 1997/03/22 01:48:38 thorpej Exp $ */
/* $NetBSD: pread.c,v 1.3 1999/01/28 20:22:32 christos Exp $ */
/*
* Copyright (c) 1996
@ -46,11 +46,11 @@
static char buf[BUFSIZE];
int
ssize_t
pread(fd, dest, size)
int fd;
physaddr_t dest;
int size;
int fd;
void *dest;
size_t size;
{
int rsize;