summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/vfork.c
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-06-28 02:12:09 +0000
committerDavid McCullough <davidm@snapgear.com>2001-06-28 02:12:09 +0000
commit572446c2c06ae715e33540251af65fb5ff26e92d (patch)
tree01d0cd9d2ec7ba2c2ead73352e6d94a9e3c1bd6f /libc/sysdeps/linux/sh/vfork.c
parente53f70e1e1fc250c060d3432844fb222e32754b1 (diff)
sysdep.h was not providing all the needed bits to build working asm with
some compilers, so define any macros we need that are not defined already. Needed to include uClibc_config.h to get some defines. New syscall header files for _mmap vfork.c is not used so ditch it.
Diffstat (limited to 'libc/sysdeps/linux/sh/vfork.c')
-rw-r--r--libc/sysdeps/linux/sh/vfork.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/libc/sysdeps/linux/sh/vfork.c b/libc/sysdeps/linux/sh/vfork.c
deleted file mode 100644
index 50393814a..000000000
--- a/libc/sysdeps/linux/sh/vfork.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* vi: set sw=4 ts=4: */
-/*
- * vfork syscall for uClibc
- *
- * Copyright (C) 2000 by Lineo, inc. Written by Erik Andersen
- * <andersen@lineo.com>, <andersee@debian.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 Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License
- * for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- */
-
-#include <errno.h>
-#include <features.h>
-#include <sys/types.h>
-#include <sys/syscall.h>
-
-
-//#define __NR_vfork 190
-#include <unistd.h>
-_syscall0(pid_t, vfork);
-