source: rtems/cpukit/posix/src/devctl.c @ 3bacb250

4.104.115
Last change on this file since 3bacb250 was 92f4671, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/02/09 at 10:04:24

Add attribute((unused)) to unused function args.

  • Property mode set to 100644
File size: 716 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2007.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <devctl.h>
17#include <errno.h>
18
19#include <rtems/system.h>
20#include <rtems/seterr.h>
21
22/*PAGE
23 *
24 *  21.2.1 Control a Device, P1003.4b/D8, p. 65
25 */
26
27int devctl(
28  int     filedes __attribute__((unused)),
29  void   *dev_data_ptr  __attribute__((unused)),
30  size_t  nbyte  __attribute__((unused)),
31  int    *dev_info_ptr  __attribute__((unused))
32)
33{
34  rtems_set_errno_and_return_minus_one( ENOSYS );
35}
Note: See TracBrowser for help on using the repository browser.