remove another invalid skip of locking in ungetwc
[oweals/musl.git] / include / nl_types.h
index ca61efb6ba91fc0eb94dc2f938fbec545ee798e3..7c2d48e0f145411c1ef1966cffe787a603894524 100644 (file)
@@ -8,10 +8,8 @@ extern "C" {
 #define NL_SETD 1
 #define NL_CAT_LOCALE 1
 
-#define __NEED_nl_item
-#include <bits/alltypes.h>
-
-typedef long nl_catd;
+typedef int nl_item;
+typedef void *nl_catd;
 
 nl_catd catopen (const char *, int);
 char *catgets (nl_catd, int, int, const char *);