From 6f7dc709ed7e403af224b0fbb91e9619629eb2ec Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 14 Jan 2006 19:45:02 +0000 Subject: make DODEBUG=y happy, update sysdeps/common/* copyright --- libc/sysdeps/linux/h8300/brk.c | 8 ++++++-- libc/sysdeps/linux/h8300/vfork.S | 2 -- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/h8300') 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 + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ #include #include #include +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) diff --git a/libc/sysdeps/linux/h8300/vfork.S b/libc/sysdeps/linux/h8300/vfork.S index 94e946912..343bb0183 100644 --- a/libc/sysdeps/linux/h8300/vfork.S +++ b/libc/sysdeps/linux/h8300/vfork.S @@ -37,5 +37,3 @@ fix_errno: sub.l er0,er0 dec.l #1,er0 jmp @er1 /* don't return, just jmp directly */ - -libc_hidden_def(_vork) -- cgit v1.2.3