Add explicit return types.
This commit is contained in:
parent
244a51db99
commit
fba10af524
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: conf.c,v 1.73 1996/03/27 19:13:18 perry Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.74 1996/03/30 07:30:33 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
|
||||
|
@ -258,6 +258,7 @@ dev_t swapdev = makedev(1, 0);
|
|||
/*
|
||||
* Returns true if dev is /dev/mem or /dev/kmem.
|
||||
*/
|
||||
int
|
||||
iskmemdev(dev)
|
||||
dev_t dev;
|
||||
{
|
||||
|
@ -268,6 +269,7 @@ iskmemdev(dev)
|
|||
/*
|
||||
* Returns true if dev is /dev/zero.
|
||||
*/
|
||||
int
|
||||
iszerodev(dev)
|
||||
dev_t dev;
|
||||
{
|
||||
|
@ -333,6 +335,7 @@ static int chrtoblktbl[] = {
|
|||
/*
|
||||
* Convert a character device number to a block device number.
|
||||
*/
|
||||
dev_t
|
||||
chrtoblk(dev)
|
||||
dev_t dev;
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.194 1996/03/08 20:19:48 cgd Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.195 1996/03/30 07:37:32 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994, 1995 Charles M. Hannum. All rights reserved.
|
||||
|
@ -135,6 +135,7 @@ extern vm_offset_t avail_start, avail_end;
|
|||
static vm_offset_t hole_start, hole_end;
|
||||
static vm_offset_t avail_next;
|
||||
|
||||
void identifycpu __P((void));
|
||||
caddr_t allocsys __P((caddr_t));
|
||||
void dumpsys __P((void));
|
||||
void cpu_reset __P((void));
|
||||
|
@ -358,6 +359,7 @@ struct cpu_nameclass i386_cpus[] = {
|
|||
{ "Cx486DLC", CPUCLASS_486 }, /* CPU_486DLC (Cyrix) */
|
||||
};
|
||||
|
||||
void
|
||||
identifycpu()
|
||||
{
|
||||
int len;
|
||||
|
@ -452,6 +454,7 @@ identifycpu()
|
|||
/*
|
||||
* machine dependent system variables.
|
||||
*/
|
||||
int
|
||||
cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
|
||||
int *name;
|
||||
u_int namelen;
|
||||
|
@ -613,6 +616,7 @@ sendsig(catcher, sig, mask, code)
|
|||
* psl to gain improper privileges or to cause
|
||||
* a machine fault.
|
||||
*/
|
||||
int
|
||||
sys_sigreturn(p, v, retval)
|
||||
struct proc *p;
|
||||
void *v;
|
||||
|
|
Loading…
Reference in New Issue