Subject: Re: CVS commit: syssrc
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Bernd Ernesti <netbsd@veego.de>
List: tech-kern
Date: 12/09/2000 22:50:47
On Sat Dec 9 16:54:41 2000, Jason R Thorpe wrote:
>
> On Sat, Dec 09, 2000 at 01:21:53PM +0200, Jaromir Dolecek wrote:
>
> > Modified Files:
> > syssrc/sys/arch/i386/i386: ibcs2_syscall.c linux_syscall.c
> > svr4_syscall.c trap.c
> > Added Files:
> > syssrc/sys/arch/i386/include: userret.h
> >
> > Log Message:
> > put userret() into header file machine/userret.h and pull it where needed
>
> Why a separate header file? Seems better to put this into <machine/cpu.h>.
Why a header file at all?
Is it a good idea to add functions to a header file?
Bernd