Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/arm/syscalls.c')
-rw-r--r--libgloss/arm/syscalls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libgloss/arm/syscalls.c b/libgloss/arm/syscalls.c
index 54e3d74f0..15cc69f61 100644
--- a/libgloss/arm/syscalls.c
+++ b/libgloss/arm/syscalls.c
@@ -264,10 +264,10 @@ _swiread (int fh,
#endif
}
-/* fd, is a valid user file handle.
+/* fd, is a valid user file handle.
Translates the return of _swiread into
bytes read. */
-int __attribute__((weak))
+int
_read (int fd,
char * ptr,
int len)
@@ -418,7 +418,7 @@ _swiwrite (
}
/* fd, is a user file descriptor. */
-int __attribute__((weak))
+int
_write (int fd,
char * ptr,
int len)
@@ -587,7 +587,7 @@ _getpid (int n __attribute__ ((unused)))
return 1;
}
-caddr_t __attribute__((weak))
+caddr_t
_sbrk (int incr)
{
extern char end asm ("end"); /* Defined by the linker. */