From 48dbb6cf16aad7db732b0f929b2e1803dccd6b4a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 13 Sep 2017 09:08:34 +0200 Subject: libio: Remove rtems_libio_check_permissions() Remove rtems_libio_check_permissions() and convert single user to rtems_libio_check_permissions_with_error(). Update #3132. --- cpukit/libcsupport/include/rtems/libio_.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'cpukit/libcsupport/include/rtems') 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. * -- cgit v1.2.3