From 495cc1df494505378977995eeb76b05f20f0b235 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 13 Jun 2010 17:49:42 +0200 Subject: import firmware from LEGO v1.29 --- AT91SAM7S256/SAM7S256/Include/xtinfo.h | 68 ++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 AT91SAM7S256/SAM7S256/Include/xtinfo.h (limited to 'AT91SAM7S256/SAM7S256/Include/xtinfo.h') diff --git a/AT91SAM7S256/SAM7S256/Include/xtinfo.h b/AT91SAM7S256/SAM7S256/Include/xtinfo.h new file mode 100644 index 0000000..ff9d667 --- /dev/null +++ b/AT91SAM7S256/SAM7S256/Include/xtinfo.h @@ -0,0 +1,68 @@ +/* xtinfo.h internal header */ +#ifndef _XTINFO +#define _XTINFO + +#ifndef _SYSTEM_BUILD +#pragma system_include +#endif + +#include +#ifndef _YVALS + #include +#endif + +#include + +_C_STD_BEGIN + + /* type definitions */ +typedef struct +{ /* format strings for date and time */ + const char *_Am_pm; + const char *_Days; + const char *_Abday; + const char *_Day; + const char *_Months; + const char *_Abmon; + const char *_Mon; + const char *_Formats; + const char *_D_t_fmt; + const char *_D_fmt; + const char *_T_fmt; + const char *_T_fmt_ampm; + const char *_Era_Formats; + const char *_Era_D_t_fmt; + const char *_Era_D_fmt; + const char *_Era_T_fmt; + const char *_Era_T_fmt_ampm; + const char *_Era; + const char *_Alt_digits; + const char *_Isdst; + const char *_Tzone; +} _Tinfo; + + /* declarations */ +_C_LIB_DECL +__INTRINSIC size_t _CStrftime(char *, size_t, const char *, + const struct tm *, const _Tinfo *); +__INTRINSIC const _Tinfo *_Getptimes(void); +__INTRINSIC const _Tinfo *_GetptimesFor(int /* Id */); + +#if !_DLIB_FULL_LOCALE_SUPPORT + +#pragma inline +const _Tinfo * _Getptimes(void) +{ + extern const _Tinfo _LOCALE_WITH_USED(Tinfo); + return &_LOCALE_WITH_USED(Tinfo); +} +#endif + +_END_C_LIB_DECL +_C_STD_END +#endif /* _XTINFO */ + +/* + * Copyright (c) 1992-2002 by P.J. Plauger. ALL RIGHTS RESERVED. + * Consult your license regarding permissions and restrictions. +V3.12:0576 */ -- cgit v1.2.3