about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/freopen.c4
-rw-r--r--libio/freopen64.c4
-rw-r--r--libio/fwprintf.c2
-rw-r--r--libio/vwprintf.c4
-rw-r--r--libio/wprintf.c4
5 files changed, 9 insertions, 9 deletions
diff --git a/libio/freopen.c b/libio/freopen.c
index 584b6e033d..a38313c334 100644
--- a/libio/freopen.c
+++ b/libio/freopen.c
@@ -47,7 +47,7 @@ freopen (filename, mode, fp)
   _IO_flockfile (fp);
   if (filename == NULL && _IO_fileno (fp) >= 0)
     {
-      fd = dup (_IO_fileno (fp));
+      fd = __dup (_IO_fileno (fp));
       if (fd != -1)
 	filename = fd_to_filename (fd);
     }
@@ -67,7 +67,7 @@ freopen (filename, mode, fp)
     result->_mode = 0;
   if (fd != -1)
     {
-      close (fd);
+      __close (fd);
       if (filename != NULL)
 	free ((char *) filename);
     }
diff --git a/libio/freopen64.c b/libio/freopen64.c
index 28cfb79df7..941eda0aa9 100644
--- a/libio/freopen64.c
+++ b/libio/freopen64.c
@@ -47,7 +47,7 @@ freopen64 (filename, mode, fp)
   _IO_flockfile (fp);
   if (filename == NULL && _IO_fileno (fp) >= 0)
     {
-      fd = dup (_IO_fileno (fp));
+      fd = __dup (_IO_fileno (fp));
       if (fd != -1)
 	filename = fd_to_filename (fd);
     }
@@ -57,7 +57,7 @@ freopen64 (filename, mode, fp)
     result->_mode = 0;
   if (fd != -1)
     {
-      close (fd);
+      __close (fd);
       if (filename != NULL)
 	free ((char *) filename);
     }
diff --git a/libio/fwprintf.c b/libio/fwprintf.c
index 6f30bc1f55..cadeda04ab 100644
--- a/libio/fwprintf.c
+++ b/libio/fwprintf.c
@@ -30,7 +30,7 @@ __fwprintf (FILE *stream, const wchar_t *format, ...)
   int done;
 
   va_start (arg, format);
-  done = vfwprintf (stream, format, arg);
+  done = __vfwprintf (stream, format, arg);
   va_end (arg);
 
   return done;
diff --git a/libio/vwprintf.c b/libio/vwprintf.c
index cfb03c0b26..814fdf32bf 100644
--- a/libio/vwprintf.c
+++ b/libio/vwprintf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1995, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1993,1995,1997,1999,2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -27,5 +27,5 @@ vwprintf (format, arg)
      const wchar_t *format;
      __gnuc_va_list arg;
 {
-  return vfwprintf (stdout, format, arg);
+  return __vfwprintf (stdout, format, arg);
 }
diff --git a/libio/wprintf.c b/libio/wprintf.c
index 42bb412b23..f418cf515d 100644
--- a/libio/wprintf.c
+++ b/libio/wprintf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1997,1999,2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -29,7 +29,7 @@ wprintf (const wchar_t *format, ...)
   int done;
 
   va_start (arg, format);
-  done = vfwprintf (stdout, format, arg);
+  done = __vfwprintf (stdout, format, arg);
   va_end (arg);
 
   return done;