Subject: ULTRIX_SYS_sigreturn defined twice in compat stuff
To: None <port-pmax@NetBSD.ORG>
From: Simon Burge <simonb@melb.cpr.itg.telecom.com.au>
List: port-pmax
Date: 05/29/1995 17:49:11
I've just noticed when doing a 'make depend' for a kernel rebuild that
I got a warning that ULTRIX_SYS_sigreturn is defined twice in
/usr/src/sys/compat/ultrix/ultrix_syscall.h .  From looking at Ultrix's
syscall.h, the second entry should be changed to ULTRIX_SYS_sigcleanup
(which from the Ultrix header is the same thing).  I haven't looked too
closely to see if this breaks anything, and I've never run an Ultrix
binary, so take this with a grain of salt...

Simon.

*** /usr/SYS/compat/ultrix/ultrix_syscall.h.ORIG	Tue Apr 25 20:20:00 1995
--- /usr/SYS/compat/ultrix/ultrix_syscall.h	Mon May 29 17:37:14 1995
***************
*** 128,134 ****
  #define	ULTRIX_SYS_mkdir	136
  #define	ULTRIX_SYS_rmdir	137
  #define	ULTRIX_SYS_utimes	138
! #define	ULTRIX_SYS_sigreturn	139
  #define	ULTRIX_SYS_adjtime	140
  #define	ULTRIX_SYS_compat_43_getpeername	141
  #define	ULTRIX_SYS_compat_43_gethostid	142
--- 128,134 ----
  #define	ULTRIX_SYS_mkdir	136
  #define	ULTRIX_SYS_rmdir	137
  #define	ULTRIX_SYS_utimes	138
! #define	ULTRIX_SYS_sigcleanup	139	/* From 4.2 longjmp; same as SYS_sigreturn */
  #define	ULTRIX_SYS_adjtime	140
  #define	ULTRIX_SYS_compat_43_getpeername	141
  #define	ULTRIX_SYS_compat_43_gethostid	142