sd: remove 'ssd' driver support
[unleashed/tickless.git] / usr / src / lib / libast / common / comp / transition.c
blobe3692d9fa688ba4c9af1ff1db824da0fd0a75e2c
1 /***********************************************************************
2 * *
3 * This software is part of the ast package *
4 * Copyright (c) 1985-2010 AT&T Intellectual Property *
5 * and is licensed under the *
6 * Common Public License, Version 1.0 *
7 * by AT&T Intellectual Property *
8 * *
9 * A copy of the License is available at *
10 * http://www.opensource.org/licenses/cpl1.0.txt *
11 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
12 * *
13 * Information and Software Systems Research *
14 * AT&T Research *
15 * Florham Park NJ *
16 * *
17 * Glenn Fowler <gsf@research.att.com> *
18 * David Korn <dgk@research.att.com> *
19 * Phong Vo <kpv@research.att.com> *
20 * *
21 ***********************************************************************/
22 #pragma prototyped
25 * transient code to aid transition between releases
28 #include <ast.h>
30 #if defined(__EXPORT__)
31 #define extern __EXPORT__
32 #endif
34 #define STUB 1
37 * 2006-09-28
39 * on some systems the _std_strtol iffe changed (due to a faulty
40 * test prototype) and the cause programs dynamically linked to
41 * an updated -last to fail at runtime with missing _ast_strtol etc.
44 #if !_std_strtol
46 #ifndef strtol
47 #undef STUB
48 extern long
49 _ast_strtol(const char* a, char** b, int c)
51 return strtol(a, b, c);
53 #endif
55 #ifndef strtoul
56 #undef STUB
57 extern unsigned long
58 _ast_strtoul(const char* a, char** b, int c)
60 return strtoul(a, b, c);
62 #endif
64 #ifndef strtoll
65 #undef STUB
66 extern intmax_t
67 _ast_strtoll(const char* a, char** b, int c)
69 return strtoll(a, b, c);
71 #endif
73 #ifndef strtoull
74 #undef STUB
75 extern uintmax_t
76 _ast_strtoull(const char* a, char** b, int c)
78 return strtoull(a, b, c);
80 #endif
82 #endif
84 #if STUB
85 NoN(transition)
86 #endif