summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-13 09:08:34 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-15 07:34:03 +0200
commit48dbb6cf16aad7db732b0f929b2e1803dccd6b4a (patch)
tree38e0f99d4e628795f08a83bb706c16f6fee55435 /cpukit/libcsupport/include/rtems
parentlibio: Do simple parameter checks early (diff)
downloadrtems-48dbb6cf16aad7db732b0f929b2e1803dccd6b4a.tar.bz2
libio: Remove rtems_libio_check_permissions()
Remove rtems_libio_check_permissions() and convert single user to rtems_libio_check_permissions_with_error(). Update #3132.
Diffstat (limited to 'cpukit/libcsupport/include/rtems')
-rw-r--r--cpukit/libcsupport/include/rtems/libio_.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h
index 9bd8a8979c..0a80c917b7 100644
--- a/cpukit/libcsupport/include/rtems/libio_.h
+++ b/cpukit/libcsupport/include/rtems/libio_.h
@@ -185,16 +185,6 @@ static inline rtems_libio_t *rtems_libio_iop( int fd )
} \
} while (0)
-/*
- * rtems_libio_check_permissions
- *
- * Macro to check if a file descriptor is open for this operation.
- * On failure, return EINVAL
- */
-
-#define rtems_libio_check_permissions(_iop, _flag) \
- rtems_libio_check_permissions_with_error(_iop, _flag, EINVAL )
-
/**
* @brief Clones a node.
*