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/bfin/brk.c | 3 ++- libc/sysdeps/linux/bfin/clone.c | 6 ++---- libc/sysdeps/linux/bfin/syscall.c | 16 ++-------------- libc/sysdeps/linux/bfin/vfork.S | 9 ++++++--- 4 files changed, 12 insertions(+), 22 deletions(-) (limited to 'libc/sysdeps/linux/bfin') diff --git a/libc/sysdeps/linux/bfin/brk.c b/libc/sysdeps/linux/bfin/brk.c index 334bf6fc0..3b261697b 100644 --- a/libc/sysdeps/linux/bfin/brk.c +++ b/libc/sysdeps/linux/bfin/brk.c @@ -8,6 +8,8 @@ #include #include +libc_hidden_proto(brk) + /* This must be initialized data because commons can't have aliases. */ void * __curbrk = 0; @@ -33,5 +35,4 @@ int brk (void *addr) return 0; } -libc_hidden_proto(brk) libc_hidden_def(brk) diff --git a/libc/sysdeps/linux/bfin/clone.c b/libc/sysdeps/linux/bfin/clone.c index 746da8e22..f326f00a0 100644 --- a/libc/sysdeps/linux/bfin/clone.c +++ b/libc/sysdeps/linux/bfin/clone.c @@ -1,11 +1,9 @@ /* * libc/sysdeps/linux/bfin/clone.c -- `clone' syscall for linux/blackfin * + * Copyright (C) 2000-2006 Erik Andersen * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License. See the file COPYING.LIB in the main - * directory of this archive for more details. - * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include diff --git a/libc/sysdeps/linux/bfin/syscall.c b/libc/sysdeps/linux/bfin/syscall.c index 6fe6cf2e6..c223f56a3 100644 --- a/libc/sysdeps/linux/bfin/syscall.c +++ b/libc/sysdeps/linux/bfin/syscall.c @@ -2,21 +2,9 @@ /* syscall for blackfin/uClibc * * Copyright (C) 2004 by Analog Devices Inc. - * Copyright (C) 2002 by Erik Andersen + * Copyright (C) 2000-2006 Erik Andersen * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU Library General Public License as published by - * the Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License - * for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include diff --git a/libc/sysdeps/linux/bfin/vfork.S b/libc/sysdeps/linux/bfin/vfork.S index 694265b7a..23ebfb806 100644 --- a/libc/sysdeps/linux/bfin/vfork.S +++ b/libc/sysdeps/linux/bfin/vfork.S @@ -1,13 +1,16 @@ +/* + * Copyright (C) 2000-2006 Erik Andersen + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + #include #include .text .globl _vfork - .globl __libc_vfork .type _vfork,STT_FUNC; .align 4 -__libc_vfork: _vfork: p0 = __NR_vfork; excpt 0; rts; -libc_hidden_def(_vfork) -- cgit v1.2.3