aboutsummaryrefslogtreecommitdiffstats
path: root/include/bits
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-02 20:49:08 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-02 20:49:08 +0200
commitf9e52c4acbd8f53da1b083770c6aab9c67cb0368 (patch)
tree755cb04726fbf6f44b42d94844fd78be6940dd7c /include/bits
parentadd memcasecmp and wmemcasecmp (diff)
downloadslibc-f9e52c4acbd8f53da1b083770c6aab9c67cb0368.tar.gz
slibc-f9e52c4acbd8f53da1b083770c6aab9c67cb0368.tar.bz2
slibc-f9e52c4acbd8f53da1b083770c6aab9c67cb0368.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include/bits')
-rw-r--r--include/bits/types.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/bits/types.h b/include/bits/types.h
index 83087b5..3d178b8 100644
--- a/include/bits/types.h
+++ b/include/bits/types.h
@@ -368,9 +368,17 @@ typedef struct {
*/
#if defined(__NEED_locale_t) && !defined(__DEFINED_locale_t)
# define __DEFINED_locale_t
-typedef struct __locale locale_t; /* TODO not implemented */
+typedef int locale_t; /* TODO not implemented */
#endif
#ifndef __INTMAX_MAX
# define __INTMAX_MAX INT64_MAX
#endif
+
+/**
+ * State of variadic argument-reading.
+ */
+#define __ONLY_va_list
+# include <stdarg.h>
+#undef __ONLY_va_list
+