diff options
author | phk <phk@FreeBSD.org> | 1996-04-19 07:28:04 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-04-19 07:28:04 +0000 |
commit | df5c003119f256a9ab0d298fe54ec979b86737a9 (patch) | |
tree | 7a603fe7ad1503d496086ceb3c5535610948aee9 /sys/amd64/include/pcb.h | |
parent | de19e026cc5456e0ad8b4a107ace0d4ff83d3618 (diff) | |
download | FreeBSD-src-df5c003119f256a9ab0d298fe54ec979b86737a9.zip FreeBSD-src-df5c003119f256a9ab0d298fe54ec979b86737a9.tar.gz |
savectx returns through cpu_switch in case of the child, so it must
return void just like cpu_switch. Fix prototype and usage from machdep.c
Diffstat (limited to 'sys/amd64/include/pcb.h')
-rw-r--r-- | sys/amd64/include/pcb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h index 2fe3d8a..b833b9b 100644 --- a/sys/amd64/include/pcb.h +++ b/sys/amd64/include/pcb.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)pcb.h 5.10 (Berkeley) 5/12/91 - * $Id: pcb.h,v 1.11 1996/03/02 19:37:45 peter Exp $ + * $Id: pcb.h,v 1.12 1996/04/18 21:34:53 phk Exp $ */ #ifndef _I386_PCB_H_ @@ -79,7 +79,7 @@ struct md_coredump { #ifdef KERNEL extern struct pcb *curpcb; /* our current running pcb */ -int savectx __P((struct pcb*, int *)); +void savectx __P((struct pcb*, int *)); #endif #endif /* _I386_PCB_H_ */ |