OSDN Git Service

* libc/include/process.h: Remove Cygwin-only header.
authorcorinna <corinna>
Mon, 9 Jan 2012 17:06:19 +0000 (17:06 +0000)
committercorinna <corinna>
Mon, 9 Jan 2012 17:06:19 +0000 (17:06 +0000)
newlib/ChangeLog
newlib/libc/include/process.h [deleted file]

index 550cfdd..3641d48 100644 (file)
@@ -1,3 +1,7 @@
+2012-01-09  Corinna Vinschen  <vinschen@redhat.com>
+
+       * libc/include/process.h: Remove Cygwin-only header.
+
 2012-01-03  Viachaslau Kulakouski  <Viachaslau.Kulakouski@oracle.com>
 
        * libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.
diff --git a/newlib/libc/include/process.h b/newlib/libc/include/process.h
deleted file mode 100644 (file)
index fe6ec16..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/* process.h.  Define spawn family of functions as provided by Cygwin.
-   The original file of this name is a MS/DOS invention. */
-
-#ifndef __PROCESS_H_
-#define __PROCESS_H_
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* For the exec functions, include unistd.h. */
-
-int spawnl(int mode, const char *path, const char *argv0, ...);
-int spawnle(int mode, const char *path, const char *argv0, ... /*, char * const *envp */);
-int spawnlp(int mode, const char *path, const char *argv0, ...);
-int spawnlpe(int mode, const char *path, const char *argv0, ... /*, char * const *envp */);
-
-int spawnv(int mode, const char *path, const char * const *argv);
-int spawnve(int mode, const char *path, const char * const *argv, const char * const *envp);
-int spawnvp(int mode, const char *path, const char * const *argv);
-int spawnvpe(int mode, const char *path, const char * const *argv, const char * const *envp);
-
-int cwait(int *, int, int);
-
-#define _P_WAIT                1
-#define _P_NOWAIT      2       /* always generates error */
-#define _P_OVERLAY     3
-#define _P_NOWAITO     4
-#define _P_DETACH      5
-
-#define WAIT_CHILD 1
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif