diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-12-25 10:32:21 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-12-25 10:35:31 +0100 |
commit | acd7dc43632c921003b795f25876e98996fc7bf4 (patch) | |
tree | 9e474a3b96e168c6fb7d012c7ee8cb39e67b8baa /package/heirloom-cpio/src/blank.h | |
parent | 69b5c88ac79ed1e1059d5c0038f6360135e56692 (diff) |
fix old kernel build with newer perl
Diffstat (limited to 'package/heirloom-cpio/src/blank.h')
-rw-r--r-- | package/heirloom-cpio/src/blank.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/package/heirloom-cpio/src/blank.h b/package/heirloom-cpio/src/blank.h deleted file mode 100644 index 1ab3d57b8..000000000 --- a/package/heirloom-cpio/src/blank.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * isblank() and iswblank() are not available with many pre-XSH6 - * systems. Check whether isblank was defined, and assume it is - * not available if not. - */ -/* Sccsid @(#)blank.h 1.3 (gritter) 5/1/04 */ - -#ifndef __dietlibc__ -#ifndef LIBCOMMON_BLANK_H -#define LIBCOMMON_BLANK_H 1 - -#include <ctype.h> -#include <wctype.h> - -#ifndef isblank - -static -#ifdef __GNUC__ -__inline__ -#endif /* __GNUC__ */ -int -my_isblank(int c) -{ - return c == ' ' || c == '\t'; -} -#define isblank(c) my_isblank(c) - -static int -my_iswblank(wint_t c) -{ - return c == L' ' || c == L'\t'; -} -#undef iswblank -#define iswblank(c) my_iswblank(c) - -#endif /* !isblank */ -#endif /* !LIBCOMMON_BLANK_H */ -#endif /* !__dietlibc__ */ |