summaryrefslogtreecommitdiff
path: root/glibc-compat/stubs.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-06-27 13:24:44 +0000
committerJakub Jelinek <jakub@redhat.com>2005-06-27 13:24:44 +0000
commit03d65262fdcc287ef8b691c7dff2f1a63cdd13c2 (patch)
treea8ac7c86519f55a4aadf31b0c9e075eaf96ea0e3 /glibc-compat/stubs.c
parent5570fbd25a574d54ab135e1d3cdac0bc74029689 (diff)
Diffstat (limited to 'glibc-compat/stubs.c')
-rw-r--r--glibc-compat/stubs.c57
1 files changed, 0 insertions, 57 deletions
diff --git a/glibc-compat/stubs.c b/glibc-compat/stubs.c
deleted file mode 100644
index 6c796d1c78..0000000000
--- a/glibc-compat/stubs.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * STAT stuff that breaks Applix
- */
-
-#include <sys/stat.h>
-
-/* 1 of 3: _xstat */
-int
-_xstat (int vers, const char *name, struct stat *buf)
-{
- return __xstat (vers, name, buf);
-}
-
-/* 2 of 3: _fxstat */
-int
-_fxstat (int vers, int fd, struct stat *buf)
-{
- return __fxstat (vers, fd, buf);
-}
-
-/* 3 of 3: _lxstat */
-int
-_lxstat (int vers, const char *name, struct stat *buf)
-{
- return __lxstat (vers, name, buf);
-}
-
-
-/*
- * __setjmp stuff that breaks again Applix
- */
-#include <setjmp.h>
-
-int __setjmp(jmp_buf env)
-{
- return _setjmp(env);
-}
-
-
-/*
- * __setfpucw break several math packages that ahve not heard of
- * the standard _FPU_SETCW() way of setting the control word for the FPU
- */
-#include <fpu_control.h>
-void __setfpucw(fpu_control_t cw)
-{
- _FPU_SETCW(cw);
-}
-
-
-/* Register FUNC to be executed by `exit'. */
-int
-atexit (void (*func) (void))
-{
- int __cxa_atexit (void (*func) (void *), void *arg, void *d);
- return __cxa_atexit ((void (*) (void *)) func, 0, 0);
-}