Print this page
2964 need POSIX 2008 locale object support
Reviewed by: Robert Mustacchi <rm@joyent.com>
*** 1,6 ****
--- 1,7 ----
/*
+ * Copyright 2013 Garrett D'Amore <garrett@damore.org>
* Copyright 2010 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 1997-2002 FreeBSD Project.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*** 30,40 ****
/*
* Private header file for the strftime and strptime localization
* stuff.
*/
! struct lc_time_T {
const char *mon[12];
const char *month[12];
const char *wday[7];
const char *weekday[7];
const char *X_fmt;
--- 31,41 ----
/*
* Private header file for the strftime and strptime localization
* stuff.
*/
! struct lc_time {
const char *mon[12];
const char *month[12];
const char *wday[7];
const char *weekday[7];
const char *X_fmt;
*** 44,52 ****
const char *pm;
const char *date_fmt;
const char *ampm_fmt;
};
! struct lc_time_T *__get_current_time_locale(void);
int __time_load_locale(const char *);
#endif /* !_TIMELOCAL_H_ */
--- 45,53 ----
const char *pm;
const char *date_fmt;
const char *ampm_fmt;
};
! struct lc_time *__get_current_time_locale(void);
int __time_load_locale(const char *);
#endif /* !_TIMELOCAL_H_ */