diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-09 21:20:57 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-09 21:20:57 +0000 |
commit | 92e4b6a92716f8b2457376291171a6330d072b0d (patch) | |
tree | 376786acd464b7ec8e556b2336fd66d73c28f956 /timezone/private.h | |
parent | 9bde902c768916daeec9983dcc0c8c420cd3895d (diff) | |
download | glibc-92e4b6a92716f8b2457376291171a6330d072b0d.zip glibc-92e4b6a92716f8b2457376291171a6330d072b0d.tar.gz glibc-92e4b6a92716f8b2457376291171a6330d072b0d.tar.bz2 |
Update tzcode to 2012i.
Diffstat (limited to 'timezone/private.h')
-rw-r--r-- | timezone/private.h | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/timezone/private.h b/timezone/private.h index 008d468..1d1d391 100644 --- a/timezone/private.h +++ b/timezone/private.h @@ -15,16 +15,6 @@ ** Thank you! */ -/* -** ID -*/ - -#ifndef lint -#ifndef NOID -static char privatehid[] = "@(#)private.h 8.6"; -#endif /* !defined NOID */ -#endif /* !defined lint */ - #define GRANDPARENTED "Local time zone must be set--see zic manual page" /* @@ -154,6 +144,12 @@ typedef long int_fast64_t; #define INT32_MIN (-1 - INT32_MAX) #endif /* !defined INT32_MIN */ +#if 2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__) +# define ATTRIBUTE_PURE __attribute__ ((__pure__)) +#else +# define ATTRIBUTE_PURE /* empty */ +#endif + /* ** Workarounds for compilers/systems. */ @@ -172,13 +168,8 @@ extern char * asctime_r(struct tm const *, char *); ** Private function declarations. */ -char * icalloc(int nelem, int elsize); char * icatalloc(char * old, const char * new); char * icpyalloc(const char * string); -char * imalloc(int n); -void * irealloc(void * pointer, int size); -void icfree(char * pointer); -void ifree(char * pointer); const char * scheck(const char * string, const char * format); /* |