From c3e61896bb3edccf0df75ff7afc2d1178476e2f6 Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Wed, 27 Jul 2016 22:41:15 -0500 Subject: [PATCH] Updated license --- LICENSE | 18 +++++++++++++++--- events.c | 6 ++++++ events.h | 3 +++ events_mbed.cpp | 7 +++++++ events_mutex.h | 3 +++ events_posix.c | 6 ++++++ events_sema.h | 3 +++ events_tick.h | 3 +++ tests/prof.c | 6 ++++++ tests/tests.c | 6 ++++++ 10 files changed, 58 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 5d760b5..3b72383 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,19 @@ Copyright (c) 2016 Christopher Haster -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/events.c b/events.c index 08ee6b7..ea39324 100644 --- a/events.c +++ b/events.c @@ -1,3 +1,9 @@ +/* + * Flexible event queue for dispatching events + * + * Copyright (c) 2016 Christopher Haster + * Distributed under the MIT license + */ #include "events.h" #include diff --git a/events.h b/events.h index 5274bcd..b665aca 100644 --- a/events.h +++ b/events.h @@ -1,5 +1,8 @@ /* * Flexible event queue for dispatching events + * + * Copyright (c) 2016 Christopher Haster + * Distributed under the MIT license */ #ifndef EVENTS_H #define EVENTS_H diff --git a/events_mbed.cpp b/events_mbed.cpp index fb194c1..857daec 100644 --- a/events_mbed.cpp +++ b/events_mbed.cpp @@ -1,3 +1,10 @@ +/* + * Implementation for the mbed library + * https://github.com/mbedmicro/mbed + * + * Copyright (c) 2016 Christopher Haster + * Distributed under the MIT license + */ #if defined(__MBED__) #include "events_tick.h" diff --git a/events_mutex.h b/events_mutex.h index b6d0ca6..64351f0 100644 --- a/events_mutex.h +++ b/events_mutex.h @@ -1,5 +1,8 @@ /* * System specific mutex implementation + * + * Copyright (c) 2016 Christopher Haster + * Distributed under the MIT license */ #ifndef EVENTS_MUTEX_H #define EVENTS_MUTEX_H diff --git a/events_posix.c b/events_posix.c index aa56f3e..a7340bc 100644 --- a/events_posix.c +++ b/events_posix.c @@ -1,3 +1,9 @@ +/* + * Implementation for Posix compliant platforms + * + * Copyright (c) 2016 Christopher Haster + * Distributed under the MIT license + */ #if defined(__unix__) #include "events_tick.h" diff --git a/events_sema.h b/events_sema.h index 830271e..8aff327 100644 --- a/events_sema.h +++ b/events_sema.h @@ -1,5 +1,8 @@ /* * System specific semaphore implementation + * + * Copyright (c) 2016 Christopher Haster + * Distributed under the MIT license */ #ifndef EVENTS_SEMA_H #define EVENTS_SEMA_H diff --git a/events_tick.h b/events_tick.h index 2d0d491..ec9dc0c 100644 --- a/events_tick.h +++ b/events_tick.h @@ -1,5 +1,8 @@ /* * System specific tick implementation + * + * Copyright (c) 2016 Christopher Haster + * Distributed under the MIT license */ #ifndef EVENTS_TICK_H #define EVENTS_TICK_H diff --git a/tests/prof.c b/tests/prof.c index 76c3942..f6ee645 100644 --- a/tests/prof.c +++ b/tests/prof.c @@ -1,3 +1,9 @@ +/* + * Profiling framework for the events library + * + * Copyright (c) 2016 Christopher Haster + * Distributed under the MIT license + */ #include "events.h" #include #include diff --git a/tests/tests.c b/tests/tests.c index 6234a86..5381a08 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -1,3 +1,9 @@ +/* + * Testing framework for the events library + * + * Copyright (c) 2016 Christopher Haster + * Distributed under the MIT license + */ #include "events.h" #include #include