From 73c811263c067c4cb767cdd2b15e66e993880e5e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 5 Jul 2006 18:53:34 +0000 Subject: fixup my copyright notice, trim stale remnants of older notices which I had clearly run search/replace on that were cluttering things up. --- libc/sysdeps/linux/common/create_module.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'libc/sysdeps/linux/common/create_module.c') diff --git a/libc/sysdeps/linux/common/create_module.c b/libc/sysdeps/linux/common/create_module.c index 9a5c2d267..f15bb18c5 100644 --- a/libc/sysdeps/linux/common/create_module.c +++ b/libc/sysdeps/linux/common/create_module.c @@ -1,8 +1,10 @@ /* vi: set sw=4 ts=4: */ -/* Syscalls for uClibc +/* + * create_module syscall for uClibc * - * Copyright (C) 2000 by Lineo, inc. and Erik Andersen * Copyright (C) 2000-2006 Erik Andersen + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include @@ -18,8 +20,8 @@ unsigned long create_module(const char *name, size_t size); #if defined(__UCLIBC_BROKEN_CREATE_MODULE__) # define __NR___create_module __NR_create_module static inline _syscall2(long, __create_module, const char *, name, size_t, size); -/* By checking the value of errno, we know if we have been fooled - * by the syscall2 macro making a very high address look like a +/* By checking the value of errno, we know if we have been fooled + * by the syscall2 macro making a very high address look like a * negative, so we we fix it up here. */ unsigned long create_module(const char *name, size_t size) { @@ -40,10 +42,10 @@ static inline _syscall4(unsigned long, __create_module, const char *, name, size_t, size, size_t, dummy, size_t, err); unsigned long create_module(const char *name, size_t size) { - return __create_module(name, size, 0, 0); + return __create_module(name, size, 0, 0); } #else -/* Sparc, MIPS, etc don't mistake return values for errors. */ +/* Sparc, MIPS, etc don't mistake return values for errors. */ _syscall2(unsigned long, create_module, const char *, name, size_t, size); #endif -- cgit v1.2.3