5
Last change
on this file since 80cf60e was
80cf60e,
checked in by Sebastian Huber <sebastian.huber@…>, on 04/15/20 at 07:48:32
|
Canonicalize config.h include
Use the following variant which was already used by most source files:
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
|
-
Property mode set to
100644
|
File size:
567 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup LibIO |
---|
5 | */ |
---|
6 | |
---|
7 | /* |
---|
8 | * Copyright (c) 2013 embedded brains GmbH. All rights reserved. |
---|
9 | * |
---|
10 | * embedded brains GmbH |
---|
11 | * Obere Lagerstr. 30 |
---|
12 | * 82178 Puchheim |
---|
13 | * Germany |
---|
14 | * <rtems@embedded-brains.de> |
---|
15 | * |
---|
16 | * The license and distribution terms for this file may be |
---|
17 | * found in the file LICENSE in this distribution or at |
---|
18 | * http://www.rtems.org/license/LICENSE. |
---|
19 | */ |
---|
20 | |
---|
21 | #ifdef HAVE_CONFIG_H |
---|
22 | #include "config.h" |
---|
23 | #endif |
---|
24 | |
---|
25 | #include <unistd.h> |
---|
26 | |
---|
27 | #include <rtems/libio.h> |
---|
28 | |
---|
29 | void rtems_libio_exit(void) |
---|
30 | { |
---|
31 | (void)close(0); |
---|
32 | (void)close(1); |
---|
33 | (void)close(2); |
---|
34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.