Subject: Re: CVS commit: syssrc/sys/arch/mips/include
To: None <thorpej@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: source-changes
Date: 11/03/2002 01:45:27
In article <20021102024523.7FBE6B42C@cvs.netbsd.org>
thorpej@netbsd.org wrote:

> Module Name:	syssrc
> Committed By:	thorpej
> Date:		Sat Nov  2 02:45:23 UTC 2002
> 
> Modified Files:
> 	syssrc/sys/arch/mips/include: types.h
> 
> Log Message:
> Make register_t == long long for N32, and == long for everthing else.
> Use register_t in label_t.

This change causes the following errors:
---
cc  -mips2 -mcpu=r4000 -EL -G 0 -mno-abicalls -mno-half-pic -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Darc -I.  -I../../../../arch -I../../../.. -nostdinc -DMIPS3 -DMIPS3_L2CACHE_PRESENT -D__NO_SOFT_SERIAL_INTERRUPT -DLKM -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /sys/arch/arc/compile/ECLIPSE/../../../../compat/ultrix/ultrix_fs.c
/sys/arch/arc/compile/ECLIPSE/../../../../compat/ultrix/ultrix_fs.c: In function `ultrix_sys_getmnt':
/sys/arch/arc/compile/ECLIPSE/../../../../compat/ultrix/ultrix_fs.c:210: argument `retval' doesn't match prototype
../../../../compat/ultrix/ultrix_syscallargs.h:376: prototype declaration
/sys/arch/arc/compile/ECLIPSE/../../../../compat/ultrix/ultrix_fs.c: In function `ultrix_sys_mount':
/sys/arch/arc/compile/ECLIPSE/../../../../compat/ultrix/ultrix_fs.c:353: argument `retval' doesn't match prototype
../../../../compat/ultrix/ultrix_syscallargs.h:258: prototype declaration
cc1: warnings being treated as errors
/sys/arch/arc/compile/ECLIPSE/../../../../compat/ultrix/ultrix_fs.c:475: warning: passing arg 3 of `sys_mount' from incompatible pointer type
*** Error code 1

Stop.
---

Should we fix ultrix_fs.c or makesyscalls.sh?
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp