aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/time.h24
-rw-r--r--linuxthreads/ChangeLog8
-rw-r--r--linuxthreads/internals.h18
3 files changed, 50 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index 2659e62..444679d 100644
--- a/include/time.h
+++ b/include/time.h
@@ -7,6 +7,27 @@
/* Now define the internal interfaces. */
struct tm;
+/* Defined in mktime.c. */
+extern const unsigned short int __mon_yday[2][13];
+
+/* Defined in localtime.c. */
+extern struct tm _tmbuf;
+
+/* Defined in tzset.c. */
+extern char *__tzstring __P ((const char *string));
+
+/* Defined in tzset.c. */
+extern size_t __tzname_cur_max;
+
+
+extern int __use_tzfile;
+
+extern void __tzfile_read __P ((const char *file));extern int __tzfile_compute __P ((time_t timer, int use_localtime,
+ long int *leap_correct, int *leap_hit,
+ struct tm *tp));
+extern void __tzfile_default __P ((const char *std, const char *dst,
+ long int stdoff, long int dstoff));
+
/* Subroutine of `mktime'. Return the `time_t' representation of TP and
normalize TP, given that a `struct tm *' maps to a `time_t' as performed
by FUNC. Keep track of next guess for time_t offset in *OFFSET. */
@@ -28,6 +49,9 @@ extern int __offtime __P ((__const time_t *__timer,
extern char *__asctime_r __P ((__const struct tm *__tp, char *__buf));
extern void __tzset __P ((void));
+/* Prototype for the internal function to get information based on TZ. */
+extern struct tm *__tz_convert __P ((const time_t *timer, int use_localtime, struct tm *tp));
+
/* Return the maximum length of a timezone name.
This is what `sysconf (_SC_TZNAME_MAX)' does. */
extern long int __tzname_max __P ((void));
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index cf6d45f..a6913e9 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,11 @@
+1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * sysdeps/pthread/pthread.h: Remove __pthread_setcanceltype
+ declaration since it's not needed.
+
+ * sysdeps/pthread/pthread.h: Move internal functions to ...
+ * internals.h: ...here.
+
1998-12-02 H.J. Lu <hjl@gnu.org>
* pthread.c (__pthread_sig_restart): Initiliaze to 0 if
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index 9765402..1557789 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -321,6 +321,24 @@ void __pthread_reset_main_thread(void);
void __fresetlockfiles(void);
void __pthread_manager_adjust_prio(int thread_prio);
+extern int __pthread_attr_setguardsize __P ((pthread_attr_t *__attr,
+ size_t __guardsize));
+extern int __pthread_attr_getguardsize __P ((__const pthread_attr_t *__attr,
+ size_t *__guardsize));
+extern int __pthread_attr_setstackaddr __P ((pthread_attr_t *__attr,
+ void *__stackaddr));
+extern int __pthread_attr_getstackaddr __P ((__const pthread_attr_t *__attr,
+ void **__stackaddr));
+extern int __pthread_attr_setstacksize __P ((pthread_attr_t *__attr,
+ size_t __stacksize));
+extern int __pthread_attr_getstacksize __P ((__const pthread_attr_t *__attr,
+ size_t *__stacksize));
+extern int __pthread_getconcurrency __P ((void));
+extern int __pthread_setconcurrency __P ((int __level));
+extern int __pthread_mutexattr_gettype __P ((__const pthread_mutexattr_t *__attr,
+ int *__kind));
+extern void __pthread_kill_other_threads_np __P ((void));
+
/* Prototypes for the function without cancelation support when the
normal version has it. */
extern int __libc_close (int fd);