/* 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. */
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));
+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
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);