aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/standalone')
-rw-r--r--sysdeps/standalone/close.c5
-rw-r--r--sysdeps/standalone/open.c3
-rw-r--r--sysdeps/standalone/read.c5
-rw-r--r--sysdeps/standalone/write.c4
4 files changed, 10 insertions, 7 deletions
diff --git a/sysdeps/standalone/close.c b/sysdeps/standalone/close.c
index b0fa5f0c8b..8c2caf1975 100644
--- a/sysdeps/standalone/close.c
+++ b/sysdeps/standalone/close.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
On-Line Applications Research Corporation.
This file is part of the GNU C Library.
@@ -39,6 +39,5 @@ __close (fd)
__FD_Table[ fd ].in_use = 0;
return 0;
}
-
-
+libc_hidden_def (__close)
weak_alias (__close, close)
diff --git a/sysdeps/standalone/open.c b/sysdeps/standalone/open.c
index 2be04f4b26..e0a3432415 100644
--- a/sysdeps/standalone/open.c
+++ b/sysdeps/standalone/open.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
On-Line Applications Research Corporation.
This file is part of the GNU C Library.
@@ -82,6 +82,7 @@ __open (file, oflag)
return newfd;
}
+libc_hidden_def (__open)
/* Initialization Code for Console I/O */
diff --git a/sysdeps/standalone/read.c b/sysdeps/standalone/read.c
index 2daee870d0..0fb9e7a1ec 100644
--- a/sysdeps/standalone/read.c
+++ b/sysdeps/standalone/read.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
On-Line Applications Research Corporation.
This file is part of the GNU C Library.
@@ -80,6 +80,7 @@ __libc_read (int fd, void *buf, size_t nbytes)
*buffer = data;
return 1;
}
-
+libc_hidden_def (__libc_read)
weak_alias (__libc_read, __read)
+libc_hidden_weak (__read)
weak_alias (__libc_read, read)
diff --git a/sysdeps/standalone/write.c b/sysdeps/standalone/write.c
index a5fe44ea26..5d3823065f 100644
--- a/sysdeps/standalone/write.c
+++ b/sysdeps/standalone/write.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
On-Line Applications Research Corporation.
This file is part of the GNU C Library.
@@ -67,5 +67,7 @@ __libc_write (int fd, const void *buf, size_t nbytes)
return count;
}
+libc_hidden_def (__libc_write)
weak_alias (__libc_write, __write)
+libc_hidden_weak (__write)
weak_alias (__libc_write, write)