]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 8 Dec 1998 16:10:10 +0000 (16:10 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 8 Dec 1998 16:10:10 +0000 (16:10 +0000)
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.

include/time.h
linuxthreads/ChangeLog
linuxthreads/internals.h

index 2659e6271766fa0f6e902cacf2aeac98db1512a4..444679defeaf25b39a92febe20a57b8cecb76310 100644 (file)
@@ -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));
index cf6d45fcaf9b1da668666eead667e1f5a1cdad91..a6913e9d47a0542acc84e9f34682db09f7547e07 100644 (file)
@@ -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
index 9765402dd10a33b3d777a842226a5a5174596f6f..1557789a7caa87663f91e40f3f2583e78dbf0611 100644 (file)
@@ -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);