diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-29 08:36:45 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-29 08:36:45 +0000 |
commit | 1c7115fb5f80e294b4cc5eb1ea863df6dd3024f4 (patch) | |
tree | b5b52097389338ac55748d63bf92af2d4a36e4aa /sys/amd64/include/cpu.h | |
parent | cf8e8cebcc0d1caa79eb2e92784961cfe301f5bb (diff) | |
download | FreeBSD-src-1c7115fb5f80e294b4cc5eb1ea863df6dd3024f4.zip FreeBSD-src-1c7115fb5f80e294b4cc5eb1ea863df6dd3024f4.tar.gz |
More -Wall / -Wcast-qual cleanup. Also, EXEC_SET can't use
C_DECLARE_MODULE due to the linker_file_sysinit() function
making modifications to the data.
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r-- | sys/amd64/include/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h index 7b2ef5b..af69a36 100644 --- a/sys/amd64/include/cpu.h +++ b/sys/amd64/include/cpu.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)cpu.h 5.4 (Berkeley) 5/9/91 - * $Id: cpu.h,v 1.35 1997/10/28 11:43:47 bde Exp $ + * $Id: cpu.h,v 1.36 1998/08/31 08:41:40 kato Exp $ */ #ifndef _MACHINE_CPU_H_ @@ -130,7 +130,7 @@ extern int want_resched; /* resched was called */ void fork_trampoline __P((void)); void fork_return __P((struct proc *, struct trapframe)); -void cpu_set_fork_handler __P((struct proc *, void (*pc)(void *), void *)); +void cpu_set_fork_handler __P((struct proc *, void (*pc)(const void *), const void *)); #endif #endif /* !_MACHINE_CPU_H_ */ |