summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/h8300/brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/h8300/brk.c')
-rw-r--r--libc/sysdeps/linux/h8300/brk.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/h8300/brk.c b/libc/sysdeps/linux/h8300/brk.c
index 0bba5de99..0da4286e7 100644
--- a/libc/sysdeps/linux/h8300/brk.c
+++ b/libc/sysdeps/linux/h8300/brk.c
@@ -1,14 +1,19 @@
/* brk on H8/300 by ysato */
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
#include <errno.h>
#include <unistd.h>
#include <sys/syscall.h>
+libc_hidden_proto(brk)
/* This must be initialized data because commons can't have aliases. */
void *__curbrk = 0;
-
int brk (void *addr)
{
void *newbrk;
@@ -31,5 +36,4 @@ int brk (void *addr)
return 0;
}
-libc_hidden_proto(brk)
libc_hidden_def(brk)