summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/mprotect.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-07-22 09:46:48 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-07-22 09:46:48 +0000
commit2b3e9d9b244e279ef5693a7cf5dacc7903164af5 (patch)
tree955e5242d4d08a8ec747c8350f55003bb9d4b519 /c/src/exec/posix/src/mprotect.c
parentRemove everything. (diff)
downloadrtems-2b3e9d9b244e279ef5693a7cf5dacc7903164af5.tar.bz2
Remove, moved to cpukit.
Diffstat (limited to 'c/src/exec/posix/src/mprotect.c')
-rw-r--r--c/src/exec/posix/src/mprotect.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/c/src/exec/posix/src/mprotect.c b/c/src/exec/posix/src/mprotect.c
deleted file mode 100644
index 60740615b5..0000000000
--- a/c/src/exec/posix/src/mprotect.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * $Id$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <unistd.h>
-
-/*PAGE
- *
- * 12.2.3 Change Memory Protection, P1003.1b-1996, p. 277.
- *
- * This is not a functional version but the SPARC backend for at least
- * gcc 2.8.1 plus gnat 3.13p and gcc 3.0.1 require it to be there and
- * return 0.
- */
-
-int mprotect(const void *addr, size_t len, int prot)
-{
- return 0;
-}