roken_rename.h revision 233294
1285612Sdelphij/*
2181834Sroberto * Copyright (c) 1998 - 2001 Kungliga Tekniska H��gskolan
3285612Sdelphij * (Royal Institute of Technology, Stockholm, Sweden).
4330567Sgordon * All rights reserved.
5181834Sroberto *
6181834Sroberto * Redistribution and use in source and binary forms, with or without
7181834Sroberto * modification, are permitted provided that the following conditions
8285612Sdelphij * are met:
9181834Sroberto *
10285612Sdelphij * 1. Redistributions of source code must retain the above copyright
11285612Sdelphij *    notice, this list of conditions and the following disclaimer.
12285612Sdelphij *
13285612Sdelphij * 2. Redistributions in binary form must reproduce the above copyright
14285612Sdelphij *    notice, this list of conditions and the following disclaimer in the
15285612Sdelphij *    documentation and/or other materials provided with the distribution.
16285612Sdelphij *
17181834Sroberto * 3. Neither the name of the Institute nor the names of its contributors
18285612Sdelphij *    may be used to endorse or promote products derived from this software
19285612Sdelphij *    without specific prior written permission.
20181834Sroberto *
21316722Sdelphij * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
22285612Sdelphij * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23285612Sdelphij * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24285612Sdelphij * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
25285612Sdelphij * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26285612Sdelphij * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27285612Sdelphij * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28285612Sdelphij * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29285612Sdelphij * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30285612Sdelphij * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31285612Sdelphij * SUCH DAMAGE.
32285612Sdelphij */
33285612Sdelphij
34285612Sdelphij/* $Id$ */
35285612Sdelphij
36285612Sdelphij#ifndef __roken_rename_h__
37181834Sroberto#define __roken_rename_h__
38285612Sdelphij
39181834Sroberto#ifndef HAVE_STRTOK_R
40181834Sroberto#define rk_strtok_r _sl_strtok_r
41181834Sroberto#endif
42181834Sroberto#ifndef HAVE_SNPRINTF
43181834Sroberto#define rk_snprintf _sl_snprintf
44181834Sroberto#endif
45285612Sdelphij#ifndef HAVE_ASPRINTF
46181834Sroberto#define rk_asprintf _sl_asprintf
47181834Sroberto#endif
48181834Sroberto#ifndef HAVE_ASNPRINTF
49285612Sdelphij#define rk_asnprintf _sl_asnprintf
50181834Sroberto#endif
51181834Sroberto#ifndef HAVE_VASPRINTF
52181834Sroberto#define rk_vasprintf _sl_vasprintf
53181834Sroberto#endif
54181834Sroberto#ifndef HAVE_VASNPRINTF
55181834Sroberto#define rk_vasnprintf _sl_vasnprintf
56285612Sdelphij#endif
57181834Sroberto#ifndef HAVE_VSNPRINTF
58181834Sroberto#define rk_vsnprintf _sl_vsnprintf
59181834Sroberto#endif
60181834Sroberto#ifndef HAVE_STRUPR
61181834Sroberto#define rk_strupr _sl_strupr
62181834Sroberto#endif
63285612Sdelphij#ifndef HAVE_STRDUP
64285612Sdelphij#define rk_strdup _sl_strdup
65181834Sroberto#endif
66181834Sroberto
67285612Sdelphij#endif /* __roken_rename_h__ */
68285612Sdelphij