| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: fenv.h,v 1.1 2010/07/31 21:47:53 joerg Exp $ */ | | 1 | /* $NetBSD: fenv.h,v 1.2 2010/08/02 17:49:04 joerg Exp $ */ |
2 | /* | | 2 | /* |
3 | * Copyright (c) 2010 The NetBSD Foundation, Inc. | | 3 | * Copyright (c) 2010 The NetBSD Foundation, Inc. |
4 | * All rights reserved. | | 4 | * All rights reserved. |
5 | * | | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions | | 7 | * modification, are permitted provided that the following conditions |
8 | * are met: | | 8 | * are met: |
9 | * 1. Redistributions of source code must retain the above copyright | | 9 | * 1. Redistributions of source code must retain the above copyright |
10 | * notice, this list of conditions and the following disclaimer. | | 10 | * notice, this list of conditions and the following disclaimer. |
11 | * 2. Redistributions in binary form must reproduce the above copyright | | 11 | * 2. Redistributions in binary form must reproduce the above copyright |
12 | * notice, this list of conditions and the following disclaimer in the | | 12 | * notice, this list of conditions and the following disclaimer in the |
13 | * documentation and/or other materials provided with the distribution. | | 13 | * documentation and/or other materials provided with the distribution. |
14 | * | | 14 | * |
| @@ -39,24 +39,24 @@ __BEGIN_DECLS | | | @@ -39,24 +39,24 @@ __BEGIN_DECLS |
39 | /* Function prototypes */ | | 39 | /* Function prototypes */ |
40 | int feclearexcept(int); | | 40 | int feclearexcept(int); |
41 | int fegetexceptflag(fexcept_t *, int); | | 41 | int fegetexceptflag(fexcept_t *, int); |
42 | int feraiseexcept(int); | | 42 | int feraiseexcept(int); |
43 | int fesetexceptflag(const fexcept_t *, int); | | 43 | int fesetexceptflag(const fexcept_t *, int); |
44 | int fetestexcept(int); | | 44 | int fetestexcept(int); |
45 | int fegetround(void); | | 45 | int fegetround(void); |
46 | int fesetround(int); | | 46 | int fesetround(int); |
47 | int fegetenv(fenv_t *); | | 47 | int fegetenv(fenv_t *); |
48 | int feholdexcept(fenv_t *); | | 48 | int feholdexcept(fenv_t *); |
49 | int fesetenv(const fenv_t *); | | 49 | int fesetenv(const fenv_t *); |
50 | int feupdateenv(const fenv_t *); | | 50 | int feupdateenv(const fenv_t *); |
51 | | | 51 | |
52 | #if defined(_NETBSD_SOURCE) || (_GNU_SOURCE) | | 52 | #if defined(_NETBSD_SOURCE) || defined(_GNU_SOURCE) |
53 | | | 53 | |
54 | int feenableexcept(int mask); | | 54 | int feenableexcept(int mask); |
55 | int fedisableexcept(int mask); | | 55 | int fedisableexcept(int mask); |
56 | int fegetexcept(void); | | 56 | int fegetexcept(void); |
57 | | | 57 | |
58 | #endif /* _NETBDS_SOURCE || _GNU_SOURCE */ | | 58 | #endif /* _NETBDS_SOURCE || _GNU_SOURCE */ |
59 | | | 59 | |
60 | __END_DECLS | | 60 | __END_DECLS |
61 | | | 61 | |
62 | #endif /* ! _FENV_H_ */ | | 62 | #endif /* ! _FENV_H_ */ |