diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-08-30 17:12:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-08-30 17:12:55 +0000 |
commit | 188c82b41251cdafd06b49dd593476354be656b2 (patch) | |
tree | 2f6f400c50ae59f9393cb53a5fc96161b30f5fe5 /c/src/exec/posix/include/rtems/posix/seterr.h | |
parent | 2000-08-30 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-188c82b41251cdafd06b49dd593476354be656b2.tar.bz2 |
2000-08-30 Joel Sherrill <joel@OARcorp.com>
* Many files: Moved posix/include/rtems/posix/seterr.h to
score/include/rtems/seterr.h so it would be available within
all APIs.
Diffstat (limited to 'c/src/exec/posix/include/rtems/posix/seterr.h')
-rw-r--r-- | c/src/exec/posix/include/rtems/posix/seterr.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/c/src/exec/posix/include/rtems/posix/seterr.h b/c/src/exec/posix/include/rtems/posix/seterr.h deleted file mode 100644 index 248b545ee6..0000000000 --- a/c/src/exec/posix/include/rtems/posix/seterr.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.OARcorp.com/rtems/license.html. - * - * $Id$ - */ - -#ifndef __POSIX_SET_ERRNO_h -#define __POSIX_SET_ERRNO_h - -#define set_errno_and_return_minus_one( _error ) \ - { errno = (_error); return -1; } - -#define set_errno_and_return_minus_one_cast( _error, _cast ) \ - { errno = (_error); return (_cast) -1; } - -#endif -/* end of include file */ |