Add the needed instances of EXPORT_SYMBOL() to lib/ctype.c.
Signed-off-by: Juergen Gross <[email protected]>
---
V3:
- new patch
---
lib/ctype.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/ctype.c b/lib/ctype.c
index 3f3bdb00..309ebbc9 100644
--- a/lib/ctype.c
+++ b/lib/ctype.c
@@ -1,5 +1,6 @@
#ifndef HAVE_LIBC
#include <ctype.h>
+#include <mini-os/export.h>
unsigned char _ctype[] = {
_C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */
@@ -26,4 +27,5 @@ _U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U, /*
192-207 */
_U,_U,_U,_U,_U,_U,_U,_P,_U,_U,_U,_U,_U,_U,_U,_L, /* 208-223 */
_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L, /* 224-239 */
_L,_L,_L,_L,_L,_L,_L,_P,_L,_L,_L,_L,_L,_L,_L,_L}; /* 240-255 */
+EXPORT_SYMBOL(_ctype);
#endif
--
2.35.3