aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/locale/xlocale_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/locale/xlocale_private.h')
-rw-r--r--lib/libc/locale/xlocale_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/locale/xlocale_private.h b/lib/libc/locale/xlocale_private.h
index fc04c9dd43a3..391e375bc03d 100644
--- a/lib/libc/locale/xlocale_private.h
+++ b/lib/libc/locale/xlocale_private.h
@@ -91,6 +91,9 @@ struct xlocale_refcounted {
/** Function used to destroy this component, if one is required*/
void(*destructor)(void*);
};
+
+#define XLOCALE_DEF_VERSION_LEN 12
+
/**
* Header for a locale component. All locale components must begin with this
* header.
@@ -99,6 +102,8 @@ struct xlocale_component {
struct xlocale_refcounted header;
/** Name of the locale used for this component. */
char locale[ENCODING_LEN+1];
+ /** Version of the definition for this component. */
+ char version[XLOCALE_DEF_VERSION_LEN];
};
/**