summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-01-25 21:22:54 +0100
committerClark Williams <williams@redhat.com>2010-01-26 12:24:44 -0600
commit1bb1e652650a917d868756b8b6cecd4f2997082c (patch)
tree6e3e3ae85ef286e1bd403c04a346fa873f33598e
parenta1a06095616e3d89504e7a8b89f08de3b1218efe (diff)
downloadrt-tests-1bb1e652650a917d868756b8b6cecd4f2997082c.tar.gz
Add copyright statements to files in src/lib
Signed-off-by: Clark Williams <williams@redhat.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: John Kacur <jkacur@redhat.com> Cc: Carsten Emde <carsten.emde@osadl.org>
-rw-r--r--src/lib/error.c6
-rw-r--r--src/lib/rt-get_cpu.c4
-rw-r--r--src/lib/rt-utils.c8
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@redhat.com>
+ *
+ * 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@redhat.com>
+ */
#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@osadl.org>
+ * Copyright (C) 2010 Clark Williams <williams@redhat.com>
+ *
+ * based on functions from cyclictest that has
+ * (C) 2008-2009 Clark Williams <williams@redhat.com>
+ * (C) 2005-2007 Thomas Gleixner <tglx@linutronix.de>
+ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>