Removing the unnecessary includes of sys/syscall.h.

This commit is contained in:
phil 1994-03-07 23:20:38 +00:00
parent 90f8ec1f8f
commit 28965bf6db
14 changed files with 17 additions and 28 deletions

View File

@ -18,10 +18,9 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: Ovfork.S,v 1.1 1993/10/07 00:20:49 cgd Exp $
* $Id: Ovfork.S,v 1.2 1994/03/07 23:20:38 phil Exp $
*/
#include <syscall.h>
#include "SYS.h"
/*

View File

@ -18,10 +18,9 @@
* 11-May-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: brk.S,v 1.1 1993/10/07 00:20:51 cgd Exp $
* $Id: brk.S,v 1.2 1994/03/07 23:20:41 phil Exp $
*/
#include <sys/syscall.h>
#include "SYS.h"
.globl _curbrk

View File

@ -18,10 +18,9 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: fork.S,v 1.1 1993/10/07 00:20:56 cgd Exp $
* $Id: fork.S,v 1.2 1994/03/07 23:20:42 phil Exp $
*/
#include <sys/syscall.h>
#include "SYS.h"
/* r0 = pid. r1 = 0 in parent, 1 in child */

View File

@ -18,10 +18,9 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: mount.S,v 1.1 1993/10/07 00:20:57 cgd Exp $
* $Id: mount.S,v 1.2 1994/03/07 23:20:42 phil Exp $
*/
#include <syscall.h>
#include "SYS.h"
SYSCALL(mount)

View File

@ -18,10 +18,9 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: pipe.S,v 1.1 1993/10/07 00:20:57 cgd Exp $
* $Id: pipe.S,v 1.2 1994/03/07 23:20:44 phil Exp $
*/
#include <sys/syscall.h>
#include <SYS.h>
SYSCALL(pipe)

View File

@ -18,14 +18,13 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: ptrace.S,v 1.1 1993/10/07 00:20:58 cgd Exp $
* $Id: ptrace.S,v 1.2 1994/03/07 23:20:45 phil Exp $
*/
/*
* This is included for the NetBSD version!
*/
#include <syscall.h>
#include "SYS.h"
.globl EX(errno)

View File

@ -16,10 +16,9 @@
/* This is a modified copy of mount.s. Phil Nelson
*
* $Id: reboot.S,v 1.1 1993/10/07 00:20:59 cgd Exp $
* $Id: reboot.S,v 1.2 1994/03/07 23:20:47 phil Exp $
*/
#include <syscall.h>
#include "SYS.h"
SYSCALL(reboot)

View File

@ -18,10 +18,9 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: sbrk.S,v 1.1 1993/10/07 00:21:01 cgd Exp $
* $Id: sbrk.S,v 1.2 1994/03/07 23:20:48 phil Exp $
*/
#include <sys/syscall.h>
#include "SYS.h"
.globl _end

View File

@ -18,10 +18,9 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: setlogin.S,v 1.2 1993/12/18 01:06:58 jtc Exp $
* $Id: setlogin.S,v 1.3 1994/03/07 23:20:49 phil Exp $
*/
#include <syscall.h>
#include "SYS.h"
.globl EX(__logname_valid) /* in getlogin() */

View File

@ -18,10 +18,9 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: sigpending.S,v 1.1 1993/10/07 00:21:03 cgd Exp $
* $Id: sigpending.S,v 1.2 1994/03/07 23:20:50 phil Exp $
*/
#include <sys/syscall.h>
#include "SYS.h"
SYSCALL(sigpending)

View File

@ -18,7 +18,7 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: sigprocmask.S,v 1.1 1993/10/07 00:21:04 cgd Exp $
* $Id: sigprocmask.S,v 1.2 1994/03/07 23:20:50 phil Exp $
*/
/*
@ -26,7 +26,6 @@
*/
#include <sys/syscall.h>
#include "SYS.h"
ENTRY(sigprocmask)

View File

@ -18,21 +18,23 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: sigreturn.S,v 1.1 1993/10/07 00:21:05 cgd Exp $
* $Id: sigreturn.S,v 1.2 1994/03/07 23:20:52 phil Exp $
*/
#include <sys/syscall.h>
#include "SYS.h"
/*
* We must preserve the state of the registers as the user has set them up.
*/
#if 0
This cause problems, LB not defined ... need to fix it
#ifdef PROF
#undef ENTRY
#define ENTRY(x) \
.globl EX(x); .align ALIGN; EX(x): save [r0,r1,r2]; \
.data; LB(sigr,1):; .long 0; .text; addr @LBb(sigr,1),r1; bsr mcount; restore [r0,r1,r2]
#endif PROF
#endif
SYSCALL(sigreturn)
ret 0

View File

@ -18,10 +18,9 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: sigsuspend.S,v 1.1 1993/10/07 00:21:06 cgd Exp $
* $Id: sigsuspend.S,v 1.2 1994/03/07 23:20:53 phil Exp $
*/
#include <sys/syscall.h>
#include "SYS.h"
ENTRY(sigsuspend)

View File

@ -18,10 +18,9 @@
* 29-Apr-92 Johannes Helander (jvh) at Helsinki University of Technology
* Created.
*
* $Id: syscall.S,v 1.1 1993/10/07 00:21:07 cgd Exp $
* $Id: syscall.S,v 1.2 1994/03/07 23:20:55 phil Exp $
*/
#include <sys/syscall.h>
#include "SYS.h"
ENTRY(syscall)