summaryrefslogtreecommitdiffstats
path: root/qemu/roms/ipxe/src/include/wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/ipxe/src/include/wchar.h')
-rw-r--r--qemu/roms/ipxe/src/include/wchar.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/qemu/roms/ipxe/src/include/wchar.h b/qemu/roms/ipxe/src/include/wchar.h
deleted file mode 100644
index d054b8d5b..000000000
--- a/qemu/roms/ipxe/src/include/wchar.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef WCHAR_H
-#define WCHAR_H
-
-FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
-
-#include <stddef.h>
-
-typedef void mbstate_t;
-
-/**
- * Convert wide character to multibyte sequence
- *
- * @v buf Buffer
- * @v wc Wide character
- * @v ps Shift state
- * @ret len Number of characters written
- *
- * This is a stub implementation, sufficient to handle basic ASCII
- * characters.
- */
-static inline __attribute__ (( always_inline ))
-size_t wcrtomb ( char *buf, wchar_t wc, mbstate_t *ps __unused ) {
- *buf = wc;
- return 1;
-}
-
-extern size_t wcslen ( const wchar_t *string );
-
-#endif /* WCHAR_H */