diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-07-05 18:53:34 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-07-05 18:53:34 +0000 |
commit | 73c811263c067c4cb767cdd2b15e66e993880e5e (patch) | |
tree | 76d8114915f27c7f021c3b4f720e5ab5ecaf76e0 /libc/sysdeps/linux/common | |
parent | f79ff0842ef7ecf146e5987a7d02b35dfe3e5b8e (diff) |
fixup my copyright notice, trim stale remnants of older notices which
I had clearly run search/replace on that were cluttering things up.
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/create_module.c | 14 |
1 files changed, 8 insertions, 6 deletions
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 <andersen@uclibc.org> + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include <errno.h> @@ -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 |