summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhreum Jeong <ahreum.jeong@samsung.com>2017-10-19 16:24:33 +0900
committerAhreum Jeong <ahreum.jeong@samsung.com>2017-10-19 16:24:33 +0900
commit58b235ef4808de42de9f485a5e1d66f1f89d7f3d (patch)
tree5bb6432b645934889b8fde02da9344dc908c86f0
parente9a2612f3567b8554ca768f9119c49a4f6b12002 (diff)
downloadtinyara-58b235ef4808de42de9f485a5e1d66f1f89d7f3d.tar.gz
tinyara-58b235ef4808de42de9f485a5e1d66f1f89d7f3d.tar.bz2
tinyara-58b235ef4808de42de9f485a5e1d66f1f89d7f3d.zip
libc/netdb: add missing original copyright and license in lib_getaddrinfo.c
This file includes some codes got from open source under the terms of BSD license. So copyright and license in original file should be kept to fulfill BSD license oligations.
-rw-r--r--lib/libc/netdb/lib_getaddrinfo.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/libc/netdb/lib_getaddrinfo.c b/lib/libc/netdb/lib_getaddrinfo.c
index eba4f46f..03430548 100644
--- a/lib/libc/netdb/lib_getaddrinfo.c
+++ b/lib/libc/netdb/lib_getaddrinfo.c
@@ -15,6 +15,33 @@
* language governing permissions and limitations under the License.
*
****************************************************************************/
+/*
+ * Copyright (c) 2001, 02 Motoyuki Kasahara
+ *
+ * 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 of the project 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 PROJECT 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 PROJECT 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.
+ */
/****************************************************************************
* Included Files