forked from Imagelibrary/rtems
Another cleanup patch for the previous rejected hunk.
This commit is contained in:
@@ -88,6 +88,7 @@ int fcntl(
|
|||||||
|
|
||||||
case F_GETFL: /* more flags (cloexec) */
|
case F_GETFL: /* more flags (cloexec) */
|
||||||
ret = rtems_libio_to_fcntl_flags( iop->flags );
|
ret = rtems_libio_to_fcntl_flags( iop->flags );
|
||||||
|
break;
|
||||||
|
|
||||||
case F_SETFL:
|
case F_SETFL:
|
||||||
flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );
|
flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ int fcntl(
|
|||||||
|
|
||||||
case F_GETFL: /* more flags (cloexec) */
|
case F_GETFL: /* more flags (cloexec) */
|
||||||
ret = rtems_libio_to_fcntl_flags( iop->flags );
|
ret = rtems_libio_to_fcntl_flags( iop->flags );
|
||||||
|
break;
|
||||||
|
|
||||||
case F_SETFL:
|
case F_SETFL:
|
||||||
flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );
|
flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ int fcntl(
|
|||||||
|
|
||||||
case F_GETFL: /* more flags (cloexec) */
|
case F_GETFL: /* more flags (cloexec) */
|
||||||
ret = rtems_libio_to_fcntl_flags( iop->flags );
|
ret = rtems_libio_to_fcntl_flags( iop->flags );
|
||||||
|
break;
|
||||||
|
|
||||||
case F_SETFL:
|
case F_SETFL:
|
||||||
flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );
|
flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user