iconv_set_relocation_prefix.c revision 258283
1230423Strasz/*-
2230423Strasz * Copyright (c) 2013 Peter Wemm
3230612Strasz * All rights reserved.
4230423Strasz *
570448Sphk * Redistribution and use in source and binary forms, with or without
6230612Strasz * modification, are permitted provided that the following conditions
7230612Strasz * are met:
8230612Strasz * 1. Redistributions of source code must retain the above copyright
9230423Strasz *    notice, this list of conditions and the following disclaimer.
10230423Strasz * 2. Redistributions in binary form must reproduce the above copyright
11230423Strasz *    notice, this list of conditions and the following disclaimer in the
12230423Strasz *    documentation and/or other materials provided with the distribution.
13230423Strasz *
14230423Strasz * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15230423Strasz * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16230423Strasz * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17230423Strasz * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18230423Strasz * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19230423Strasz * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20230423Strasz * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21230423Strasz * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22230423Strasz * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23230423Strasz * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24230423Strasz * SUCH DAMAGE.
25230423Strasz *
26230423Strasz * $FreeBSD: head/lib/libc_nonshared/iconv_set_relocation_prefix.c 258283 2013-11-17 22:52:17Z peter $
27230423Strasz */
28230423Strasz
29230423Strasz#include <sys/types.h>
3070448Sphk#include <iconv.h>
3170448Sphk#include "iconv-internal.h"
32230423Strasz
33157159Swkoszekvoid
34157160Swkoszekiconv_set_relocation_prefix(const char *a, const char *b)
35157159Swkoszek{
36157159Swkoszek	return __bsd_iconv_set_relocation_prefix(a, b);
37157159Swkoszek}
38157159Swkoszek