You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/09/02 13:56:17 UTC

[incubator-nuttx] 04/11: LICENSE: add libs/libc/math/ to license file

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit abf8a72ef0404880e53588c47262639630eb14f5
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Sep 2 09:46:10 2021 +0200

    LICENSE: add libs/libc/math/ to license file
    
    Add Sun Microsystems license for libs/libc/math/__sin.c
    and libs/libc/math/__cos.c
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 LICENSE                        | 39 +++++++++++++++++++++++++++++++++++++++
 libs/libc/math/__cos.c         |  2 --
 libs/libc/math/__sin.c         |  2 --
 libs/libc/math/lib_copysignf.c |  7 -------
 libs/libc/math/lib_lgamma.c    |  2 --
 5 files changed, 39 insertions(+), 13 deletions(-)

diff --git a/LICENSE b/LICENSE
index 90969cb..3158093 100644
--- a/LICENSE
+++ b/LICENSE
@@ -2281,6 +2281,45 @@ libs/libc/machine/arm/armv8-m
  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+libs/libc/math/__cos.c
+libs/libc/math/__sin.c
+libs/libc/math/lib_lgamma.c
+libs/libc/math/lib_copysignf.c
+======================
+   Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
+
+   Developed at SunSoft, a Sun Microsystems, Inc. business.
+   Permission to use, copy, modify, and distribute this
+   software is freely granted, provided that this notice
+   is preserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in
+    the documentation and/or other materials provided with the
+    distribution.
+ 3. Neither the name NuttX nor the names of its contributors may be
+    used to endorse or promote products derived from this software
+    without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
 drivers/wireless/bluetooth/bt_uart.c
 drivers/wireless/bluetooth/bt_uart.h
 wireless/bluetooth
diff --git a/libs/libc/math/__cos.c b/libs/libc/math/__cos.c
index 1dd82b9..3121238 100644
--- a/libs/libc/math/__cos.c
+++ b/libs/libc/math/__cos.c
@@ -1,8 +1,6 @@
 /****************************************************************************
  * libs/libc/math/__cos.c
  *
- * Ported to NuttX from FreeBSD by Alan Carvalho de Assis:
- *
  *   Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  *
  *   Developed at SunSoft, a Sun Microsystems, Inc. business.
diff --git a/libs/libc/math/__sin.c b/libs/libc/math/__sin.c
index 5dc4c80..7c5cf69 100644
--- a/libs/libc/math/__sin.c
+++ b/libs/libc/math/__sin.c
@@ -1,8 +1,6 @@
 /****************************************************************************
  * libs/libc/math/__sin.c
  *
- * Ported to NuttX from FreeBSD by Alan Carvalho de Assis:
- *
  *   Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  *
  *   Developed at SunSoft, a Sun Microsystems, Inc. business.
diff --git a/libs/libc/math/lib_copysignf.c b/libs/libc/math/lib_copysignf.c
index 137dfbf..d5d5dd0 100644
--- a/libs/libc/math/lib_copysignf.c
+++ b/libs/libc/math/lib_copysignf.c
@@ -1,13 +1,6 @@
 /****************************************************************************
  * libs/libc/math/lib_copysignf.c
  *
- *   Copyright (C) 2015, 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            Dave Marples <da...@marples.net>
- *
- * Replaced on 2016-07-30 by David Alession with a faster version of
- * copysignf() from NetBSD with the following Copyright:
- *
  *   Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  *
  *   Developed at SunPro, a Sun Microsystems, Inc. business.
diff --git a/libs/libc/math/lib_lgamma.c b/libs/libc/math/lib_lgamma.c
index fa0020e..efd32a9 100644
--- a/libs/libc/math/lib_lgamma.c
+++ b/libs/libc/math/lib_lgamma.c
@@ -1,8 +1,6 @@
 /****************************************************************************
  * libs/libc/math/lib_lgamma.c
  *
- * Ported to NuttX from FreeBSD by Alan Carvalho de Assis:
- *
  *   Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  *
  *   Developed at SunSoft, a Sun Microsystems, Inc. business.