summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-09-05 05:29:49 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-09-05 05:29:49 +0000
commite72144d6265637d1e34bd79f5e373b4ff98d4d29 (patch)
treec9cda2a39e645575df372fe90840cc1176f6055b /libc/sysdeps
parenta9b6db9b78d8c63eafde91be08f12c6fa0ba1311 (diff)
Change <bits/syscall.h> to <bits/sysnum.h>.
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/alpha/Makefile2
-rw-r--r--libc/sysdeps/linux/alpha/bits/syscalls.h6
-rw-r--r--libc/sysdeps/linux/arm/Makefile4
-rw-r--r--libc/sysdeps/linux/arm/bits/.cvsignore2
-rw-r--r--libc/sysdeps/linux/arm/bits/syscalls.h4
-rw-r--r--libc/sysdeps/linux/h8300/bits/.cvsignore2
-rw-r--r--libc/sysdeps/linux/h8300/bits/syscalls.h6
-rw-r--r--libc/sysdeps/linux/i386/Makefile4
-rw-r--r--libc/sysdeps/linux/i386/bits/.cvsignore2
-rw-r--r--libc/sysdeps/linux/i386/bits/syscalls.h4
-rw-r--r--libc/sysdeps/linux/i960/Makefile4
-rw-r--r--libc/sysdeps/linux/i960/bits/syscalls.h6
-rw-r--r--libc/sysdeps/linux/m68k/Makefile4
-rw-r--r--libc/sysdeps/linux/m68k/bits/.cvsignore2
-rw-r--r--libc/sysdeps/linux/m68k/bits/syscalls.h6
-rw-r--r--libc/sysdeps/linux/mips/Makefile4
-rw-r--r--libc/sysdeps/linux/mips/bits/.cvsignore2
-rw-r--r--libc/sysdeps/linux/mips/bits/syscalls.h4
-rw-r--r--libc/sysdeps/linux/powerpc/Makefile4
-rw-r--r--libc/sysdeps/linux/powerpc/README.bits2
-rw-r--r--libc/sysdeps/linux/powerpc/bits/.cvsignore2
-rw-r--r--libc/sysdeps/linux/powerpc/bits/syscalls.h6
-rw-r--r--libc/sysdeps/linux/sh/Makefile2
-rw-r--r--libc/sysdeps/linux/sh/bits/.cvsignore2
-rw-r--r--libc/sysdeps/linux/sh/bits/syscalls.h4
-rw-r--r--libc/sysdeps/linux/sparc/Makefile4
-rw-r--r--libc/sysdeps/linux/sparc/bits/.cvsignore2
-rw-r--r--libc/sysdeps/linux/sparc/bits/syscalls.h6
-rw-r--r--libc/sysdeps/linux/v850/Makefile2
-rw-r--r--libc/sysdeps/linux/v850/bits/.cvsignore2
-rw-r--r--libc/sysdeps/linux/v850/bits/syscalls.h6
-rw-r--r--libc/sysdeps/linux/v850/vfork.S6
32 files changed, 59 insertions, 59 deletions
diff --git a/libc/sysdeps/linux/alpha/Makefile b/libc/sysdeps/linux/alpha/Makefile
index 5e19b6ca9..d7f87348c 100644
--- a/libc/sysdeps/linux/alpha/Makefile
+++ b/libc/sysdeps/linux/alpha/Makefile
@@ -63,5 +63,5 @@ headers:
clean:
rm -f *.[oa] *~ core
- rm -f bits/syscall.h
+ rm -f bits/sysnum.h
diff --git a/libc/sysdeps/linux/alpha/bits/syscalls.h b/libc/sysdeps/linux/alpha/bits/syscalls.h
index ecd4a1784..62541b873 100644
--- a/libc/sysdeps/linux/alpha/bits/syscalls.h
+++ b/libc/sysdeps/linux/alpha/bits/syscalls.h
@@ -1,19 +1,19 @@
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
-# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
#include <features.h>
/* Do something very evil for now. Until we create our own syscall
- * macros, short circuit bits/syscall.h and use asm/unistd.h instead */
+ * macros, short circuit bits/sysnum.h and use asm/unistd.h instead */
#include <asm/unistd.h>
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#endif /* _BITS_SYSCALLS_H */
diff --git a/libc/sysdeps/linux/arm/Makefile b/libc/sysdeps/linux/arm/Makefile
index 950cf660e..98555e32e 100644
--- a/libc/sysdeps/linux/arm/Makefile
+++ b/libc/sysdeps/linux/arm/Makefile
@@ -1,7 +1,7 @@
# Makefile for uClibc
#
# Copyright (C) 2000 by Lineo, inc.
-# Copyright (C) 2000,2001 Erik Andersen <andersen@uclibc.org>
+# Copyright (C) 2000,2002 Erik Andersen <andersen@uclibc.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Library General Public License as published by the Free
@@ -63,5 +63,5 @@ headers:
clean:
rm -f *.[oa] *~ core
- rm -f bits/syscall.h
+ rm -f bits/sysnum.h
diff --git a/libc/sysdeps/linux/arm/bits/.cvsignore b/libc/sysdeps/linux/arm/bits/.cvsignore
index 414354767..87338254d 100644
--- a/libc/sysdeps/linux/arm/bits/.cvsignore
+++ b/libc/sysdeps/linux/arm/bits/.cvsignore
@@ -1 +1 @@
-syscall.h
+sysnum.h
diff --git a/libc/sysdeps/linux/arm/bits/syscalls.h b/libc/sysdeps/linux/arm/bits/syscalls.h
index 9d5e79fe1..937f13a0d 100644
--- a/libc/sysdeps/linux/arm/bits/syscalls.h
+++ b/libc/sysdeps/linux/arm/bits/syscalls.h
@@ -1,13 +1,13 @@
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
-# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#ifndef __set_errno
# define __set_errno(val) (*__errno_location ()) = (val)
diff --git a/libc/sysdeps/linux/h8300/bits/.cvsignore b/libc/sysdeps/linux/h8300/bits/.cvsignore
index 414354767..87338254d 100644
--- a/libc/sysdeps/linux/h8300/bits/.cvsignore
+++ b/libc/sysdeps/linux/h8300/bits/.cvsignore
@@ -1 +1 @@
-syscall.h
+sysnum.h
diff --git a/libc/sysdeps/linux/h8300/bits/syscalls.h b/libc/sysdeps/linux/h8300/bits/syscalls.h
index ecd4a1784..62541b873 100644
--- a/libc/sysdeps/linux/h8300/bits/syscalls.h
+++ b/libc/sysdeps/linux/h8300/bits/syscalls.h
@@ -1,19 +1,19 @@
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
-# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
#include <features.h>
/* Do something very evil for now. Until we create our own syscall
- * macros, short circuit bits/syscall.h and use asm/unistd.h instead */
+ * macros, short circuit bits/sysnum.h and use asm/unistd.h instead */
#include <asm/unistd.h>
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#endif /* _BITS_SYSCALLS_H */
diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile
index 28c64991e..aa7b2cd28 100644
--- a/libc/sysdeps/linux/i386/Makefile
+++ b/libc/sysdeps/linux/i386/Makefile
@@ -1,7 +1,7 @@
# Makefile for uClibc
#
# Copyright (C) 2000 by Lineo, inc.
-# Copyright (C) 2000,2001 Erik Andersen <andersen@uclibc.org>
+# Copyright (C) 2000,2001,2002 Erik Andersen <andersen@uclibc.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Library General Public License as published by the Free
@@ -75,5 +75,5 @@ headers:
clean:
rm -f *.[oa] *~ core
- rm -f bits/syscall.h
+ rm -f bits/sysnum.h
diff --git a/libc/sysdeps/linux/i386/bits/.cvsignore b/libc/sysdeps/linux/i386/bits/.cvsignore
index 414354767..87338254d 100644
--- a/libc/sysdeps/linux/i386/bits/.cvsignore
+++ b/libc/sysdeps/linux/i386/bits/.cvsignore
@@ -1 +1 @@
-syscall.h
+sysnum.h
diff --git a/libc/sysdeps/linux/i386/bits/syscalls.h b/libc/sysdeps/linux/i386/bits/syscalls.h
index cb70d15e3..944fb734a 100644
--- a/libc/sysdeps/linux/i386/bits/syscalls.h
+++ b/libc/sysdeps/linux/i386/bits/syscalls.h
@@ -1,13 +1,13 @@
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
-# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#ifndef __set_errno
# define __set_errno(val) (*__errno_location ()) = (val)
diff --git a/libc/sysdeps/linux/i960/Makefile b/libc/sysdeps/linux/i960/Makefile
index cf192b242..00a23b896 100644
--- a/libc/sysdeps/linux/i960/Makefile
+++ b/libc/sysdeps/linux/i960/Makefile
@@ -1,7 +1,7 @@
# Makefile for uClibc
#
# Copyright (C) 2000 by Lineo, inc.
-# Copyright (C) 2000,2001 Erik Andersen <andersen@uclibc.org>
+# Copyright (C) 2000,2001,2002 Erik Andersen <andersen@uclibc.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Library General Public License as published by the Free
@@ -73,5 +73,5 @@ headers:
clean:
rm -f *.[oa] *~ core
- rm -f bits/syscall.h
+ rm -f bits/sysnum.h
diff --git a/libc/sysdeps/linux/i960/bits/syscalls.h b/libc/sysdeps/linux/i960/bits/syscalls.h
index ecd4a1784..62541b873 100644
--- a/libc/sysdeps/linux/i960/bits/syscalls.h
+++ b/libc/sysdeps/linux/i960/bits/syscalls.h
@@ -1,19 +1,19 @@
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
-# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
#include <features.h>
/* Do something very evil for now. Until we create our own syscall
- * macros, short circuit bits/syscall.h and use asm/unistd.h instead */
+ * macros, short circuit bits/sysnum.h and use asm/unistd.h instead */
#include <asm/unistd.h>
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#endif /* _BITS_SYSCALLS_H */
diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile
index 5954b8df4..751f7072c 100644
--- a/libc/sysdeps/linux/m68k/Makefile
+++ b/libc/sysdeps/linux/m68k/Makefile
@@ -1,7 +1,7 @@
# Makefile for uClibc
#
# Copyright (C) 2000 by Lineo, inc.
-# Copyright (C) 2000,2001 Erik Andersen <andersen@uclibc.org>
+# Copyright (C) 2000,2001,2002 Erik Andersen <andersen@uclibc.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Library General Public License as published by the Free
@@ -79,7 +79,7 @@ endif
clean:
rm -f *.[oa] *~ core
- rm -f bits/syscall.h
+ rm -f bits/sysnum.h
ifeq ($(strip $(HAVE_ELF)),false)
rm -f $(TOPDIR)/include/float.h
endif
diff --git a/libc/sysdeps/linux/m68k/bits/.cvsignore b/libc/sysdeps/linux/m68k/bits/.cvsignore
index 414354767..87338254d 100644
--- a/libc/sysdeps/linux/m68k/bits/.cvsignore
+++ b/libc/sysdeps/linux/m68k/bits/.cvsignore
@@ -1 +1 @@
-syscall.h
+sysnum.h
diff --git a/libc/sysdeps/linux/m68k/bits/syscalls.h b/libc/sysdeps/linux/m68k/bits/syscalls.h
index ecd4a1784..62541b873 100644
--- a/libc/sysdeps/linux/m68k/bits/syscalls.h
+++ b/libc/sysdeps/linux/m68k/bits/syscalls.h
@@ -1,19 +1,19 @@
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
-# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
#include <features.h>
/* Do something very evil for now. Until we create our own syscall
- * macros, short circuit bits/syscall.h and use asm/unistd.h instead */
+ * macros, short circuit bits/sysnum.h and use asm/unistd.h instead */
#include <asm/unistd.h>
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#endif /* _BITS_SYSCALLS_H */
diff --git a/libc/sysdeps/linux/mips/Makefile b/libc/sysdeps/linux/mips/Makefile
index 95da2dded..080f04394 100644
--- a/libc/sysdeps/linux/mips/Makefile
+++ b/libc/sysdeps/linux/mips/Makefile
@@ -1,7 +1,7 @@
# Makefile for uClibc
#
# Copyright (C) 2001 by Lineo, inc.
-# Copyright (C) 2000,2001 Erik Andersen <andersen@uclibc.org>
+# Copyright (C) 2000-2002 Erik Andersen <andersen@uclibc.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Library General Public License as published by the Free
@@ -66,6 +66,6 @@ headers:
clean:
rm -f *.[oa] *~ core
- rm -f bits/syscall.h
+ rm -f bits/sysnum.h
rm -f $(TOPDIR)/include/sgidefs.h
diff --git a/libc/sysdeps/linux/mips/bits/.cvsignore b/libc/sysdeps/linux/mips/bits/.cvsignore
index 414354767..87338254d 100644
--- a/libc/sysdeps/linux/mips/bits/.cvsignore
+++ b/libc/sysdeps/linux/mips/bits/.cvsignore
@@ -1 +1 @@
-syscall.h
+sysnum.h
diff --git a/libc/sysdeps/linux/mips/bits/syscalls.h b/libc/sysdeps/linux/mips/bits/syscalls.h
index 0d7ae1e50..22d53aac5 100644
--- a/libc/sysdeps/linux/mips/bits/syscalls.h
+++ b/libc/sysdeps/linux/mips/bits/syscalls.h
@@ -1,13 +1,13 @@
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
-# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#ifndef __set_errno
# define __set_errno(val) (*__errno_location ()) = (val)
diff --git a/libc/sysdeps/linux/powerpc/Makefile b/libc/sysdeps/linux/powerpc/Makefile
index a351fe1f9..da11f940c 100644
--- a/libc/sysdeps/linux/powerpc/Makefile
+++ b/libc/sysdeps/linux/powerpc/Makefile
@@ -1,7 +1,7 @@
# Makefile for uClibc
#
# Copyright (C) 2000 by Lineo, inc.
-# Copyright (C) 2000,2001 Erik Andersen <andersen@uclibc.org>
+# Copyright (C) 2000,2001,2002 Erik Andersen <andersen@uclibc.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Library General Public License as published by the Free
@@ -75,5 +75,5 @@ headers:
clean:
rm -f *.[oa] *~ core
- rm -f bits/syscall.h
+ rm -f bits/sysnum.h
diff --git a/libc/sysdeps/linux/powerpc/README.bits b/libc/sysdeps/linux/powerpc/README.bits
index 2d6d4fa68..c0542e5b2 100644
--- a/libc/sysdeps/linux/powerpc/README.bits
+++ b/libc/sysdeps/linux/powerpc/README.bits
@@ -7,7 +7,7 @@ Major differences:
- termios.h is from the Linux kernel, not glibc, because glibc has
a very strange legacy conversion layer, which we ignore.
- - syscall.h is deleted, because it is autogenerated in uClibc
+ - syscall.h is deleted; instead, sysnum.h is autogenerated in uClibc
- syscalls.h is added.
diff --git a/libc/sysdeps/linux/powerpc/bits/.cvsignore b/libc/sysdeps/linux/powerpc/bits/.cvsignore
index 414354767..87338254d 100644
--- a/libc/sysdeps/linux/powerpc/bits/.cvsignore
+++ b/libc/sysdeps/linux/powerpc/bits/.cvsignore
@@ -1 +1 @@
-syscall.h
+sysnum.h
diff --git a/libc/sysdeps/linux/powerpc/bits/syscalls.h b/libc/sysdeps/linux/powerpc/bits/syscalls.h
index 53fedf11e..6b11315e2 100644
--- a/libc/sysdeps/linux/powerpc/bits/syscalls.h
+++ b/libc/sysdeps/linux/powerpc/bits/syscalls.h
@@ -1,19 +1,19 @@
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
-# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
#include <features.h>
/* Do something very evil for now. Until we create our own syscall
- * macros, short circuit bits/syscall.h and use asm/unistd.h instead */
+ * macros, short circuit bits/sysnum.h and use asm/unistd.h instead */
#include <asm/unistd.h>
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
/* The kernel includes don't provide _syscall6, so provide our own */
#undef _syscall6
diff --git a/libc/sysdeps/linux/sh/Makefile b/libc/sysdeps/linux/sh/Makefile
index 6ff7f87e3..c9cec02c1 100644
--- a/libc/sysdeps/linux/sh/Makefile
+++ b/libc/sysdeps/linux/sh/Makefile
@@ -65,5 +65,5 @@ headers:
clean:
rm -f *.[oa] *~ core
- rm -f bits/syscall.h
+ rm -f bits/sysnum.h
diff --git a/libc/sysdeps/linux/sh/bits/.cvsignore b/libc/sysdeps/linux/sh/bits/.cvsignore
index 414354767..87338254d 100644
--- a/libc/sysdeps/linux/sh/bits/.cvsignore
+++ b/libc/sysdeps/linux/sh/bits/.cvsignore
@@ -1 +1 @@
-syscall.h
+sysnum.h
diff --git a/libc/sysdeps/linux/sh/bits/syscalls.h b/libc/sysdeps/linux/sh/bits/syscalls.h
index a9b41059a..db4648eb4 100644
--- a/libc/sysdeps/linux/sh/bits/syscalls.h
+++ b/libc/sysdeps/linux/sh/bits/syscalls.h
@@ -1,13 +1,13 @@
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
-# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#ifndef __set_errno
# define __set_errno(val) (*__errno_location ()) = (val)
diff --git a/libc/sysdeps/linux/sparc/Makefile b/libc/sysdeps/linux/sparc/Makefile
index d57e1ea5e..bce1752dc 100644
--- a/libc/sysdeps/linux/sparc/Makefile
+++ b/libc/sysdeps/linux/sparc/Makefile
@@ -1,7 +1,7 @@
# Makefile for uClibc
#
# Copyright (C) 2000 by Lineo, inc.
-# Copyright (C) 2000,2001 Erik Andersen <andersen@uclibc.org>
+# Copyright (C) 2000,2001,2002 Erik Andersen <andersen@uclibc.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU Library General Public License as published by the Free
@@ -63,5 +63,5 @@ headers:
clean:
rm -f *.[oa] *~ core
- rm -f bits/syscall.h
+ rm -f bits/sysnum.h
diff --git a/libc/sysdeps/linux/sparc/bits/.cvsignore b/libc/sysdeps/linux/sparc/bits/.cvsignore
index 414354767..87338254d 100644
--- a/libc/sysdeps/linux/sparc/bits/.cvsignore
+++ b/libc/sysdeps/linux/sparc/bits/.cvsignore
@@ -1 +1 @@
-syscall.h
+sysnum.h
diff --git a/libc/sysdeps/linux/sparc/bits/syscalls.h b/libc/sysdeps/linux/sparc/bits/syscalls.h
index ecd4a1784..62541b873 100644
--- a/libc/sysdeps/linux/sparc/bits/syscalls.h
+++ b/libc/sysdeps/linux/sparc/bits/syscalls.h
@@ -1,19 +1,19 @@
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
-# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
#include <features.h>
/* Do something very evil for now. Until we create our own syscall
- * macros, short circuit bits/syscall.h and use asm/unistd.h instead */
+ * macros, short circuit bits/sysnum.h and use asm/unistd.h instead */
#include <asm/unistd.h>
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#endif /* _BITS_SYSCALLS_H */
diff --git a/libc/sysdeps/linux/v850/Makefile b/libc/sysdeps/linux/v850/Makefile
index 3ba329aae..ead5daa90 100644
--- a/libc/sysdeps/linux/v850/Makefile
+++ b/libc/sysdeps/linux/v850/Makefile
@@ -66,5 +66,5 @@ headers:
clean:
rm -f *.[oa] *~ core
- rm -f bits/syscall.h
+ rm -f bits/sysnum.h
diff --git a/libc/sysdeps/linux/v850/bits/.cvsignore b/libc/sysdeps/linux/v850/bits/.cvsignore
index 414354767..87338254d 100644
--- a/libc/sysdeps/linux/v850/bits/.cvsignore
+++ b/libc/sysdeps/linux/v850/bits/.cvsignore
@@ -1 +1 @@
-syscall.h
+sysnum.h
diff --git a/libc/sysdeps/linux/v850/bits/syscalls.h b/libc/sysdeps/linux/v850/bits/syscalls.h
index ecd4a1784..62541b873 100644
--- a/libc/sysdeps/linux/v850/bits/syscalls.h
+++ b/libc/sysdeps/linux/v850/bits/syscalls.h
@@ -1,19 +1,19 @@
#ifndef _BITS_SYSCALLS_H
#define _BITS_SYSCALLS_H
#ifndef _SYSCALL_H
-# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
#include <features.h>
/* Do something very evil for now. Until we create our own syscall
- * macros, short circuit bits/syscall.h and use asm/unistd.h instead */
+ * macros, short circuit bits/sysnum.h and use asm/unistd.h instead */
#include <asm/unistd.h>
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#endif /* _BITS_SYSCALLS_H */
diff --git a/libc/sysdeps/linux/v850/vfork.S b/libc/sysdeps/linux/v850/vfork.S
index 52c341c06..e5058a49a 100644
--- a/libc/sysdeps/linux/v850/vfork.S
+++ b/libc/sysdeps/linux/v850/vfork.S
@@ -1,8 +1,8 @@
/*
* libc/sysdeps/linux/v850/vfork.S -- `vfork' syscall for linux/v850
*
- * Copyright (C) 2001 NEC Corporation
- * Copyright (C) 2001 Miles Bader <miles@gnu.org>
+ * Copyright (C) 2001,2002 NEC Corporation
+ * Copyright (C) 2001,2002 Miles Bader <miles@gnu.org>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License. See the file COPYING.LIB in the main
@@ -14,7 +14,7 @@
#define _ERRNO_H 1
#include <bits/errno.h>
#define _SYSCALL_H
-#include <bits/syscall.h>
+#include <bits/sysnum.h>
#include <clinkage.h>