diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-08-27 20:23:17 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-08-27 20:23:17 +0000 |
commit | 577822c05ffeb7be0bad4ecfcb0f5ee394313e40 (patch) | |
tree | 69ff7bf1f40f2747c750171c927ba0ce503b16f4 /include | |
parent | 68b9e1ae08d8f6246fa65ee61ea6bb2e3da7d6ff (diff) | |
download | glibc-577822c05ffeb7be0bad4ecfcb0f5ee394313e40.zip glibc-577822c05ffeb7be0bad4ecfcb0f5ee394313e40.tar.gz glibc-577822c05ffeb7be0bad4ecfcb0f5ee394313e40.tar.bz2 |
Update.
2003-08-27 Ulrich Drepper <drepper@redhat.com>
* include/stdio.h: Add declarations for __builtin_fwrite and
__builtin_fwrite_unlocked.
Diffstat (limited to 'include')
-rw-r--r-- | include/stdio.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h index c46c7cd..86eeb1e 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -110,6 +110,17 @@ libc_hidden_proto (fputs_unlocked) libc_hidden_proto (open_memstream) 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 |