Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libkiconv/xlat16_iconv.c
Show All 25 Lines | |||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
/* | /* | ||||
* kiconv(3) requires shared linked, and reduce module size | * kiconv(3) requires shared linked, and reduce module size | ||||
* when statically linked. | * when statically linked. | ||||
*/ | */ | ||||
#ifdef PIC | #ifdef __PIC__ | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <sys/iconv.h> | #include <sys/iconv.h> | ||||
#include <sys/sysctl.h> | #include <sys/sysctl.h> | ||||
#include <ctype.h> | #include <ctype.h> | ||||
#include <dlfcn.h> | #include <dlfcn.h> | ||||
#include <err.h> | #include <err.h> | ||||
▲ Show 20 Lines • Show All 414 Lines • ▼ Show 20 Lines | |||||
int | int | ||||
kiconv_add_xlat16_cspairs(const char *tocode __unused, const char *fromcode __unused) | kiconv_add_xlat16_cspairs(const char *tocode __unused, const char *fromcode __unused) | ||||
{ | { | ||||
errno = EINVAL; | errno = EINVAL; | ||||
return (-1); | return (-1); | ||||
} | } | ||||
#endif /* PIC */ | #endif /* __PIC__ */ |