Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/libnosys/_exit.c')
-rw-r--r--libgloss/libnosys/_exit.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/libgloss/libnosys/_exit.c b/libgloss/libnosys/_exit.c
deleted file mode 100644
index 3fdf7f081..000000000
--- a/libgloss/libnosys/_exit.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/* Stub version of _exit. */
-
-#include <limits.h>
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-
-_VOID
-_DEFUN (_exit, (rc),
- int rc)
-{
- /* Default stub just causes a divide by 0 exception. */
- int x = rc / INT_MAX;
- x = 4 / x;
-
- /* Convince GCC that this function never returns. */
- for (;;)
- ;
-}