|
Last change
on this file since 473 was
473,
checked in by alain, 7 years ago
|
|
Fix several GCC warning related to the -Wextra compilation option.
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | + shared_stdlib.h - Shared mnemonics used by the <stdlib.h> user library. |
|---|
| 3 | * Author Alain Greiner (2016,2017,2018) |
|---|
| 4 | * |
|---|
| 5 | * Copyright (c) UPMC Sorbonne Universites |
|---|
| 6 | * |
|---|
| 7 | * This file is part of ALMOS-MKH. |
|---|
| 8 | * |
|---|
| 9 | * ALMOS-MKH is free software; you can redistribute it and/or modify it |
|---|
| 10 | * under the terms of the GNU General Public License as published by |
|---|
| 11 | * the Free Software Foundation; version 2.0 of the License. |
|---|
| 12 | * |
|---|
| 13 | * ALMOS-MKH is distributed in the hope that it will be useful, but |
|---|
| 14 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 16 | * General Public License for more details. |
|---|
| 17 | * |
|---|
| 18 | * You should have received a copy of the GNU General Public License |
|---|
| 19 | * along with ALMOS-MKH; if not, write to the Free Software Foundation, |
|---|
| 20 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|---|
| 21 | */ |
|---|
| 22 | |
|---|
| 23 | #ifndef _SHARED_STDLIB_H_ |
|---|
| 24 | #define _SHARED_STDLIB_H_ |
|---|
| 25 | |
|---|
| 26 | /******************************************************************************************* |
|---|
| 27 | * This enum defines the supported terminaison status values for the exit() syscall. |
|---|
| 28 | ******************************************************************************************/ |
|---|
| 29 | |
|---|
| 30 | typedef enum |
|---|
| 31 | { |
|---|
| 32 | EXIT_SUCCESS, |
|---|
| 33 | EXIT_FAILURE, |
|---|
| 34 | } |
|---|
| 35 | exit_statut_t; |
|---|
| 36 | |
|---|
| 37 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.