Print this page
2964 need POSIX 2008 locale object support (more C++ fixes)

Split Close
Expand all
Collapse all
          --- old/usr/src/head/time.h
          +++ new/usr/src/head/time.h
↓ open down ↓ 369 lines elided ↑ open up ↑
 370  370  
 371  371  #endif /* __STDC__ */
 372  372  
 373  373  #endif /* defined(__EXTENSIONS__) || defined(_REENTRANT)... */
 374  374  
 375  375  
 376  376  #if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
 377  377  
 378  378  #ifndef _LOCALE_T
 379  379  #define _LOCALE_T
 380      -typedef struct locale *locale_t;
      380 +typedef struct _locale *locale_t;
 381  381  #endif
 382  382  
 383  383  #if     defined(__STDC__)
 384  384  extern size_t strftime_l(char *_RESTRICT_KYWD, size_t,
 385  385          const char *_RESTRICT_KYWD, const struct tm *_RESTRICT_KYWD, locale_t);
 386  386  #else /* __STDC__ */
 387  387  extern size_t strftime_l();
 388  388  #endif /* __STDC__ */
 389  389  
 390  390  #endif /* defined(_XPG7) || !defined(_STRICT_SYMBOLS) */
 391  391  
 392  392  #ifdef  __cplusplus
 393  393  }
 394  394  #endif
 395  395  
 396  396  #endif  /* _TIME_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX