diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-05 01:20:21 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-05 01:20:21 +0000 |
| commit | 2a214a4cb8d68d3ab6d202feb3baabe31cc64355 (patch) | |
| tree | 2d57d3bba0123ccb4af6cab399903b92f61c900f /include | |
| parent | 31e1fd4f8a380e2540426cd863b83c7c2e6a4376 (diff) | |
| download | uClibc-alpine-2a214a4cb8d68d3ab6d202feb3baabe31cc64355.tar.bz2 uClibc-alpine-2a214a4cb8d68d3ab6d202feb3baabe31cc64355.tar.xz | |
Clean up headers for the install target. Also define 'attribute_tls_model_ie' in 'libc-internal.h' where it belongs. Update includes in a few other miscellaneous files.
Diffstat (limited to 'include')
| -rw-r--r-- | include/libc-internal.h | 4 | ||||
| -rw-r--r-- | include/time.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h index 03f17dd43..742622e13 100644 --- a/include/libc-internal.h +++ b/include/libc-internal.h @@ -126,6 +126,10 @@ # define attribute_noreturn #endif +#ifdef __UCLIBC_HAS_THREADS_NATIVE__ +# define attribute_tls_model_ie __attribute__ ((tls_model ("initial-exec"))) +#endif + /* Pull in things like __attribute_used__ */ #include <sys/cdefs.h> diff --git a/include/time.h b/include/time.h index 645042777..22e6c4b58 100644 --- a/include/time.h +++ b/include/time.h @@ -191,9 +191,7 @@ extern double difftime (time_t __time1, time_t __time0) __THROW __attribute__ ((__const__)); #endif /* __UCLIBC_HAS_FLOATS__ */ -#ifdef __UCLIBC_HAS_THREADS_NATIVE__ # define CLOCK_IDFIELD_SIZE 3 -#endif /* Return the `time_t' representation of TP and normalize TP. */ extern time_t mktime (struct tm *__tp) __THROW; |
