time.h (2d08521bd15501c8370ba2153b9cca4f094979d0) time.h (732efd5515b5788339f3da4db04de7cea0f79c86)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 363 unchanged lines hidden (view full) ---

372
373#endif /* defined(__EXTENSIONS__) || defined(_REENTRANT)... */
374
375
376#if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
377
378#ifndef _LOCALE_T
379#define _LOCALE_T
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 363 unchanged lines hidden (view full) ---

372
373#endif /* defined(__EXTENSIONS__) || defined(_REENTRANT)... */
374
375
376#if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
377
378#ifndef _LOCALE_T
379#define _LOCALE_T
380typedef struct locale *locale_t;
380typedef struct _locale *locale_t;
381#endif
382
383#if defined(__STDC__)
384extern size_t strftime_l(char *_RESTRICT_KYWD, size_t,
385 const char *_RESTRICT_KYWD, const struct tm *_RESTRICT_KYWD, locale_t);
386#else /* __STDC__ */
387extern size_t strftime_l();
388#endif /* __STDC__ */
389
390#endif /* defined(_XPG7) || !defined(_STRICT_SYMBOLS) */
391
392#ifdef __cplusplus
393}
394#endif
395
396#endif /* _TIME_H */
381#endif
382
383#if defined(__STDC__)
384extern size_t strftime_l(char *_RESTRICT_KYWD, size_t,
385 const char *_RESTRICT_KYWD, const struct tm *_RESTRICT_KYWD, locale_t);
386#else /* __STDC__ */
387extern size_t strftime_l();
388#endif /* __STDC__ */
389
390#endif /* defined(_XPG7) || !defined(_STRICT_SYMBOLS) */
391
392#ifdef __cplusplus
393}
394#endif
395
396#endif /* _TIME_H */