summaryrefslogtreecommitdiff
path: root/src/rtapi/examples/shmem
diff options
context:
space:
mode:
authorJeff Epler <jepler@unpythonic.net>2013-06-17 10:50:40 -0500
committerJeff Epler <jepler@unpythonic.net>2013-06-17 10:51:10 -0500
commitd121638df7b1dfad89fc27eaf6e693a850adaee1 (patch)
tree2bfa0c9a7bd485ffc17dcc181c00d770e9c18c42 /src/rtapi/examples/shmem
parente95e8f689ef30f9e02b4ad5dcc86eb7cce977f74 (diff)
downloadlinuxcnc-d121638df7b1dfad89fc27eaf6e693a850adaee1.tar.gz
linuxcnc-d121638df7b1dfad89fc27eaf6e693a850adaee1.zip
Add license notices where they were missing
Diffstat (limited to 'src/rtapi/examples/shmem')
-rw-r--r--src/rtapi/examples/shmem/common.h15
-rw-r--r--src/rtapi/examples/shmem/shmemtask.c15
-rw-r--r--src/rtapi/examples/shmem/shmemusr.c15
3 files changed, 45 insertions, 0 deletions
diff --git a/src/rtapi/examples/shmem/common.h b/src/rtapi/examples/shmem/common.h
index f42e20928..fd6d1cf03 100644
--- a/src/rtapi/examples/shmem/common.h
+++ b/src/rtapi/examples/shmem/common.h
@@ -1,3 +1,18 @@
+// Copyright 2003 John Kasunich
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#ifndef COMMON_H
#define COMMON_H
diff --git a/src/rtapi/examples/shmem/shmemtask.c b/src/rtapi/examples/shmem/shmemtask.c
index 9e75b4787..de95bfb8d 100644
--- a/src/rtapi/examples/shmem/shmemtask.c
+++ b/src/rtapi/examples/shmem/shmemtask.c
@@ -1,3 +1,18 @@
+// Copyright 2003 John Kasunich
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/*
shmemtask.c
diff --git a/src/rtapi/examples/shmem/shmemusr.c b/src/rtapi/examples/shmem/shmemusr.c
index 617bcbbe6..1e47880cb 100644
--- a/src/rtapi/examples/shmem/shmemusr.c
+++ b/src/rtapi/examples/shmem/shmemusr.c
@@ -1,3 +1,18 @@
+// Copyright 2003 John Kasunich
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <stdio.h>
#include <signal.h> /* signal(), SIGINT */
#include <unistd.h> /* sleep() */