2003-08-27  Ulrich Drepper  <drepper@redhat.com>

	* include/stdio.h: Add declarations for __builtin_fwrite and
	__builtin_fwrite_unlocked.
This commit is contained in:
Ulrich Drepper 2003-08-27 20:23:17 +00:00
parent 68b9e1ae08
commit 577822c05f
4 changed files with 26 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2003-08-27 Ulrich Drepper <drepper@redhat.com>
* include/stdio.h: Add declarations for __builtin_fwrite and
__builtin_fwrite_unlocked.
2003-08-27 Jakub Jelinek <jakub@redhat.com> 2003-08-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/opendir.c (__opendir): Make sure even struct dirent64 * sysdeps/unix/opendir.c (__opendir): Make sure even struct dirent64

View File

@ -110,6 +110,17 @@ libc_hidden_proto (fputs_unlocked)
libc_hidden_proto (open_memstream) libc_hidden_proto (open_memstream)
libc_hidden_proto (__libc_fatal) libc_hidden_proto (__libc_fatal)
# if !defined NOT_IN_libc && defined SHARED && defined DO_VERSIONING \
&& defined HAVE_VISIBILITY_ATTRIBUTE && !defined HAVE_BROKEN_ALIAS_ATTRIBUTE\
&& !defined NO_HIDDEN
/* Special gcc builtins. */
extern size_t __builtin_fwrite (const void *, size_t, size_t, void *)
__asm ("__GI_fwrite");
extern size_t __builtin_fwrite_unlocked (const void *, size_t, size_t, void *)
__asm ("__GI_fwrite_unlocked");
# endif
# endif # endif
#endif #endif

View File

@ -1,3 +1,9 @@
2003-08-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/pthread.h: Don't mark pthread_exit,
pthread_join, pthread_cond_wait, and pthread_cond_timedwait with
__THROW to match NPTL.
2003-08-13 Ulrich Drepper <drepper@redhat.com> 2003-08-13 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/Makefile [subdir=rt] (CPPFLAGS): Add * sysdeps/pthread/Makefile [subdir=rt] (CPPFLAGS): Add

View File

@ -172,13 +172,12 @@ extern pthread_t pthread_self (void) __THROW;
extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __THROW; extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __THROW;
/* Terminate calling thread. */ /* Terminate calling thread. */
extern void pthread_exit (void *__retval) extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
__THROW __attribute__ ((__noreturn__));
/* Make calling thread wait for termination of the thread TH. The /* Make calling thread wait for termination of the thread TH. The
exit status of the thread is stored in *THREAD_RETURN, if THREAD_RETURN exit status of the thread is stored in *THREAD_RETURN, if THREAD_RETURN
is not NULL. */ is not NULL. */
extern int pthread_join (pthread_t __th, void **__thread_return) __THROW; extern int pthread_join (pthread_t __th, void **__thread_return);
/* Indicate that the thread TH is never to be joined with PTHREAD_JOIN. /* Indicate that the thread TH is never to be joined with PTHREAD_JOIN.
The resources of TH will therefore be freed immediately when it The resources of TH will therefore be freed immediately when it
@ -403,7 +402,7 @@ extern int pthread_cond_broadcast (pthread_cond_t *__cond) __THROW;
/* Wait for condition variable COND to be signaled or broadcast. /* Wait for condition variable COND to be signaled or broadcast.
MUTEX is assumed to be locked before. */ MUTEX is assumed to be locked before. */
extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
pthread_mutex_t *__restrict __mutex) __THROW; pthread_mutex_t *__restrict __mutex);
/* Wait for condition variable COND to be signaled or broadcast until /* Wait for condition variable COND to be signaled or broadcast until
ABSTIME. MUTEX is assumed to be locked before. ABSTIME is an ABSTIME. MUTEX is assumed to be locked before. ABSTIME is an
@ -412,7 +411,7 @@ extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
pthread_mutex_t *__restrict __mutex, pthread_mutex_t *__restrict __mutex,
__const struct timespec *__restrict __const struct timespec *__restrict
__abstime) __THROW; __abstime);
/* Functions for handling condition variable attributes. */ /* Functions for handling condition variable attributes. */