diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-30 15:55:20 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-30 15:55:20 +0200 |
commit | 8aed1fcd443b550c15a21ddbf1b1d3899803120a (patch) | |
tree | ce7c0a22c1d5ed7d437198b4447a3aa2fd578665 /tools/cpio/src/mbtowi.h | |
parent | 12c9d74bb923174117e28186e4a7698e623803a2 (diff) |
rework hosttools building, add tools into package stuff
Diffstat (limited to 'tools/cpio/src/mbtowi.h')
-rw-r--r-- | tools/cpio/src/mbtowi.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/cpio/src/mbtowi.h b/tools/cpio/src/mbtowi.h deleted file mode 100644 index 525ad08d1..000000000 --- a/tools/cpio/src/mbtowi.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Sccsid @(#)mbtowi.h 1.2 (gritter) 7/16/04 */ - -#ifndef LIBCOMMON_MBTOWI_H -#define LIBCOMMON_MBTOWI_H - -static -#if defined (__GNUC__) || defined (__USLC__) || defined (__INTEL_COMPILER) || \ - defined (__IBMC__) || defined (__SUNPRO_C) - inline -#endif - int -mbtowi(wint_t *pwi, const char *s, size_t n) -{ - wchar_t wc; - int i; - - i = mbtowc(&wc, s, n); - *pwi = wc; - return i; -} - -#endif /* !LIBCOMMON_MBTOWI_H */ |