xref: /freebsd/contrib/com_err/roken_rename.h (revision 6a068746777241722b2b32c5d0bc443a2a64d80b)
1847a7462SMark Murray /*
2*ae771770SStanislav Sedov  * Copyright (c) 1998 Kungliga Tekniska Högskolan
3847a7462SMark Murray  * (Royal Institute of Technology, Stockholm, Sweden).
4847a7462SMark Murray  * All rights reserved.
5847a7462SMark Murray  *
6847a7462SMark Murray  * Redistribution and use in source and binary forms, with or without
7847a7462SMark Murray  * modification, are permitted provided that the following conditions
8847a7462SMark Murray  * are met:
9847a7462SMark Murray  *
10847a7462SMark Murray  * 1. Redistributions of source code must retain the above copyright
11847a7462SMark Murray  *    notice, this list of conditions and the following disclaimer.
12847a7462SMark Murray  *
13847a7462SMark Murray  * 2. Redistributions in binary form must reproduce the above copyright
14847a7462SMark Murray  *    notice, this list of conditions and the following disclaimer in the
15847a7462SMark Murray  *    documentation and/or other materials provided with the distribution.
16847a7462SMark Murray  *
17f054c1dfSJacques Vidrine  * 3. Neither the name of the Institute nor the names of its contributors
18847a7462SMark Murray  *    may be used to endorse or promote products derived from this software
19847a7462SMark Murray  *    without specific prior written permission.
20847a7462SMark Murray  *
21847a7462SMark Murray  * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
22847a7462SMark Murray  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23847a7462SMark Murray  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24847a7462SMark Murray  * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
25847a7462SMark Murray  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26847a7462SMark Murray  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27847a7462SMark Murray  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28847a7462SMark Murray  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29847a7462SMark Murray  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30847a7462SMark Murray  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31847a7462SMark Murray  * SUCH DAMAGE.
32847a7462SMark Murray  */
33847a7462SMark Murray 
34*ae771770SStanislav Sedov /* $Id$ */
35847a7462SMark Murray 
36847a7462SMark Murray #ifndef __roken_rename_h__
37847a7462SMark Murray #define __roken_rename_h__
38847a7462SMark Murray 
39fcd2e558SDoug Rabson #ifndef HAVE_SNPRINTF
40*ae771770SStanislav Sedov #define rk_snprintf _com_err_snprintf
41fcd2e558SDoug Rabson #endif
42fcd2e558SDoug Rabson #ifndef HAVE_VSNPRINTF
43*ae771770SStanislav Sedov #define rk_vsnprintf _com_err_vsnprintf
44fcd2e558SDoug Rabson #endif
45fcd2e558SDoug Rabson #ifndef HAVE_ASPRINTF
46*ae771770SStanislav Sedov #define rk_asprintf _com_err_asprintf
47fcd2e558SDoug Rabson #endif
48fcd2e558SDoug Rabson #ifndef HAVE_ASNPRINTF
49*ae771770SStanislav Sedov #define rk_asnprintf _com_err_asnprintf
50fcd2e558SDoug Rabson #endif
51fcd2e558SDoug Rabson #ifndef HAVE_VASPRINTF
52*ae771770SStanislav Sedov #define rk_vasprintf _com_err_vasprintf
53fcd2e558SDoug Rabson #endif
54fcd2e558SDoug Rabson #ifndef HAVE_VASNPRINTF
55*ae771770SStanislav Sedov #define rk_vasnprintf _com_err_vasnprintf
56fcd2e558SDoug Rabson #endif
57fcd2e558SDoug Rabson #ifndef HAVE_STRLCPY
58*ae771770SStanislav Sedov #define rk_strlcpy _com_err_strlcpy
59fcd2e558SDoug Rabson #endif
60fcd2e558SDoug Rabson 
61fcd2e558SDoug Rabson 
62847a7462SMark Murray #endif /* __roken_rename_h__ */
63