summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/cris/brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/cris/brk.c')
-rw-r--r--libc/sysdeps/linux/cris/brk.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/cris/brk.c b/libc/sysdeps/linux/cris/brk.c
index 8b5aa680c..42a3b6de3 100644
--- a/libc/sysdeps/linux/cris/brk.c
+++ b/libc/sysdeps/linux/cris/brk.c
@@ -1,8 +1,16 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
#include <unistd.h>
#include <sys/syscall.h>
#include <errno.h>
#include "sysdep.h"
+libc_hidden_proto(brk)
+
extern void * __curbrk;
extern int __init_brk (void);
@@ -29,5 +37,4 @@ int brk(void * end_data_seg)
return -1;
}
-libc_hidden_proto(brk)
libc_hidden_def(brk)