summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-08-27 20:23:17 +0000
committerUlrich Drepper <drepper@redhat.com>2003-08-27 20:23:17 +0000
commit577822c05ffeb7be0bad4ecfcb0f5ee394313e40 (patch)
tree69ff7bf1f40f2747c750171c927ba0ce503b16f4 /include
parent68b9e1ae08d8f6246fa65ee61ea6bb2e3da7d6ff (diff)
downloadglibc-577822c05ffeb7be0bad4ecfcb0f5ee394313e40.tar.gz
glibc-577822c05ffeb7be0bad4ecfcb0f5ee394313e40.tar.xz
glibc-577822c05ffeb7be0bad4ecfcb0f5ee394313e40.zip
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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index c46c7cd5f6..86eeb1ec36 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