[PATCH] Add copyright statements to files in src/lib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
Cc: John Kacur <jkacur@xxxxxxxxxx>
Cc: Carsten Emde <carsten.emde@xxxxxxxxx>
Cc: Clark Williams <williams@xxxxxxxxxx>
---
Hello,

compared to the previous patch I modified the comment in src/lib/error.c as
requested by John via irc.

Best regards
Uwe

 src/lib/error.c      |    6 ++++++
 src/lib/rt-get_cpu.c |    4 +++-
 src/lib/rt-utils.c   |    8 ++++++++
 3 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/src/lib/error.c b/src/lib/error.c
index d5ad2aa..e9fe58f 100644
--- a/src/lib/error.c
+++ b/src/lib/error.c
@@ -1,3 +1,9 @@
+/*
+ * Copyright (C) 2009 John Kacur <jkacur@xxxxxxxxxx>
+ *
+ * error routines, similar to those found in
+ * Advanced Programming in the UNIX Environment 2nd ed.
+ */
 #include "error.h"
 
 /* Print an error message, plus a message for err and exit with error err */
diff --git a/src/lib/rt-get_cpu.c b/src/lib/rt-get_cpu.c
index 6ebda90..83430dd 100644
--- a/src/lib/rt-get_cpu.c
+++ b/src/lib/rt-get_cpu.c
@@ -1,3 +1,6 @@
+/*
+ * Copyright (C) 2009 John Kacur <jkacur@xxxxxxxxxx>
+ */
 #include "rt-get_cpu.h"
 #ifdef __NR_getcpu
 #elif defined(__GLIBC__) && defined(__GLIBC_MINOR__)	\
@@ -22,4 +25,3 @@ int get_cpu_setup(void)
 }
 
 #endif
-
diff --git a/src/lib/rt-utils.c b/src/lib/rt-utils.c
index c760f5a..b5a77de 100644
--- a/src/lib/rt-utils.c
+++ b/src/lib/rt-utils.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (C) 2009 Carsten Emde <carsten.emde@xxxxxxxxx>
+ * Copyright (C) 2010 Clark Williams <williams@xxxxxxxxxx>
+ *
+ * based on functions from cyclictest that has
+ * (C) 2008-2009 Clark Williams <williams@xxxxxxxxxx>
+ * (C) 2005-2007 Thomas Gleixner <tglx@xxxxxxxxxxxxx>
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-- 
1.6.6

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux