source: rtems/cpukit/score/include/rtems/seterr.h @ 05279b84

4.104.114.84.95
Last change on this file since 05279b84 was 05279b84, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/17/04 at 13:32:13

Remove stray white spaces.

  • Property mode set to 100644
File size: 584 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-1999.
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#ifndef __RTEMS_SET_ERRNO_h
13#define __RTEMS_SET_ERRNO_h
14
15#define rtems_set_errno_and_return_minus_one( _error ) \
16  do { errno = (_error); return -1; } while(0)
17
18#define rtems_set_errno_and_return_minus_one_cast( _error, _cast ) \
19  do { errno = (_error); return (_cast) -1; } while(0)
20
21#endif
22/* end of include file */
Note: See TracBrowser for help on using the repository browser.