trace(1): resolve all level-5 LLVM warnings
[minix3.git] / lib / libm / src / s_lib_version.c
blob147a2ef32d91a5a5a28f4a229d94ab0c2eb9a8f6
1 /* @(#)s_lib_ver.c 5.1 93/09/24 */
2 /*
3 * ====================================================
4 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
6 * Developed at SunPro, a Sun Microsystems, Inc. business.
7 * Permission to use, copy, modify, and distribute this
8 * software is freely granted, provided that this notice
9 * is preserved.
10 * ====================================================
13 #include <sys/cdefs.h>
14 #if defined(LIBM_SCCS) && !defined(lint)
15 __RCSID("$NetBSD: s_lib_version.c,v 1.8 1999/07/02 15:37:43 simonb Exp $");
16 #endif
19 * MACRO for standards
22 #include "math.h"
23 #include "math_private.h"
26 * define and initialize _LIB_VERSION
28 #ifdef _POSIX_MODE
29 _LIB_VERSION_TYPE _LIB_VERSION = _POSIX_;
30 #else
31 #ifdef _XOPEN_MODE
32 _LIB_VERSION_TYPE _LIB_VERSION = _XOPEN_;
33 #else
34 #ifdef _SVID3_MODE
35 _LIB_VERSION_TYPE _LIB_VERSION = _SVID_;
36 #else /* default _IEEE_MODE */
37 _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
38 #endif
39 #endif
40 #endif