source: rtems/cpukit/libcsupport/src/__brk.c @ 9e14ca2

4.104.115
Last change on this file since 9e14ca2 was 9e14ca2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/15/09 at 09:29:55

Add attribute((unused)) to function arguments.

  • Property mode set to 100644
File size: 562 bytes
Line 
1/*
2 *  RTEMS "Broken" __brk Implementation
3 *
4 *  NOTE: sbrk() is provided by each BSP.
5 *
6 *  COPYRIGHT (c) 1989-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16#if HAVE_CONFIG_H
17#include "config.h"
18#endif
19
20#include <rtems.h>
21#if !defined(RTEMS_UNIX)
22
23#include <errno.h>
24
25int __brk(
26  const void *endds __attribute__((unused))
27)
28{
29  errno = EINVAL;
30  return -1;
31}
32#endif
Note: See TracBrowser for help on using the repository browser.