aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-11-25 12:17:57 +0000
committerHarry Jeffery <harry@exec64.co.uk>2017-11-25 12:17:57 +0000
commit92ddfe0bceb8e66fabce3ae127468153e7eb11e3 (patch)
treed4d10996a3436586a9148cc405f7536b0db6cf8f /src
parent8bad694c2a44eb6b7bca59e2eb77479a2e9ed50f (diff)
downloadimv-92ddfe0bceb8e66fabce3ae127468153e7eb11e3.tar.gz
Don't duplicate license text in all source files
If moving to dual-licensing, this text will be confusing. It's also a lot of noise.
Diffstat (limited to 'src')
-rw-r--r--src/commands.c17
-rw-r--r--src/commands.h17
-rw-r--r--src/imv.c17
-rw-r--r--src/imv.h17
-rw-r--r--src/list.c17
-rw-r--r--src/list.h17
-rw-r--r--src/loader.c17
-rw-r--r--src/loader.h17
-rw-r--r--src/main.c17
-rw-r--r--src/navigator.c17
-rw-r--r--src/navigator.h17
-rw-r--r--src/texture.c17
-rw-r--r--src/texture.h17
-rw-r--r--src/util.c17
-rw-r--r--src/util.h17
-rw-r--r--src/viewport.c17
-rw-r--r--src/viewport.h17
17 files changed, 0 insertions, 289 deletions
diff --git a/src/commands.c b/src/commands.c
index a06000c..7dfbc2c 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -1,20 +1,3 @@
-/* Copyright (c) 2017 imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include "commands.h"
#include "list.h"
diff --git a/src/commands.h b/src/commands.h
index 19a0bf9..cf3a728 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -1,20 +1,3 @@
-/* Copyright (c) 2017 imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#ifndef COMMANDS_H
#define COMMANDS_H
diff --git a/src/imv.c b/src/imv.c
index d884997..1152305 100644
--- a/src/imv.c
+++ b/src/imv.c
@@ -1,20 +1,3 @@
-/* Copyright (c) 2017 imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include "imv.h"
#include <errno.h>
diff --git a/src/imv.h b/src/imv.h
index a546b1c..8840776 100644
--- a/src/imv.h
+++ b/src/imv.h
@@ -1,20 +1,3 @@
-/* Copyright (c) 2017 imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#ifndef IMV_H
#define IMV_H
diff --git a/src/list.c b/src/list.c
index 3c648bf..0bc3b7e 100644
--- a/src/list.c
+++ b/src/list.c
@@ -1,20 +1,3 @@
-/* Copyright (c) 2017 imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include "list.h"
struct list *list_create(void)
diff --git a/src/list.h b/src/list.h
index bcc76e5..bb88c2c 100644
--- a/src/list.h
+++ b/src/list.h
@@ -1,20 +1,3 @@
-/* Copyright (c) 2017 imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#ifndef LIST_H
#define LIST_H
diff --git a/src/loader.c b/src/loader.c
index 30907f4..3f46f1a 100644
--- a/src/loader.c
+++ b/src/loader.c
@@ -1,20 +1,3 @@
-/* Copyright (c) imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include "loader.h"
#include "texture.h"
#include <limits.h>
diff --git a/src/loader.h b/src/loader.h
index 4fd4067..8cf417b 100644
--- a/src/loader.h
+++ b/src/loader.h
@@ -1,23 +1,6 @@
#ifndef IMV_LOADER_H
#define IMV_LOADER_H
-/* Copyright (c) imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include <unistd.h>
struct imv_loader;
diff --git a/src/main.c b/src/main.c
index a930308..d38520d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,20 +1,3 @@
-/* Copyright (c) 2017 imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include "imv.h"
int main(int argc, char** argv)
diff --git a/src/navigator.c b/src/navigator.c
index 23c57ba..5aa3cc5 100644
--- a/src/navigator.c
+++ b/src/navigator.c
@@ -1,20 +1,3 @@
-/* Copyright (c) imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include "navigator.h"
#include <limits.h>
diff --git a/src/navigator.h b/src/navigator.h
index 4ca3833..3859efa 100644
--- a/src/navigator.h
+++ b/src/navigator.h
@@ -1,23 +1,6 @@
#ifndef IMV_NAVIGATOR_H
#define IMV_NAVIGATOR_H
-/* Copyright (c) imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include <unistd.h>
/* Creates an instance of imv_navigator */
diff --git a/src/texture.c b/src/texture.c
index ba85b2e..f641207 100644
--- a/src/texture.c
+++ b/src/texture.c
@@ -1,20 +1,3 @@
-/* Copyright (c) imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include "texture.h"
struct imv_texture *imv_texture_create(SDL_Renderer *r)
diff --git a/src/texture.h b/src/texture.h
index eea66e1..873811c 100644
--- a/src/texture.h
+++ b/src/texture.h
@@ -1,23 +1,6 @@
#ifndef IMV_TEXTURE_H
#define IMV_TEXTURE_H
-/* Copyright (c) imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include <SDL2/SDL.h>
#include <FreeImage.h>
diff --git a/src/util.c b/src/util.c
index 382f93a..fc28083 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1,20 +1,3 @@
-/* Copyright (c) imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include "util.h"
#include <unistd.h>
#include <stddef.h>
diff --git a/src/util.h b/src/util.h
index 7210421..23a6388 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,20 +1,3 @@
-/* Copyright (c) imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#ifndef UTIL_H
#define UTIL_H
diff --git a/src/viewport.c b/src/viewport.c
index 1ca208e..aad717c 100644
--- a/src/viewport.c
+++ b/src/viewport.c
@@ -1,20 +1,3 @@
-/* Copyright (c) imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include "viewport.h"
struct imv_viewport *imv_viewport_create(SDL_Window *window)
diff --git a/src/viewport.h b/src/viewport.h
index 0006233..b1d8bf7 100644
--- a/src/viewport.h
+++ b/src/viewport.h
@@ -1,23 +1,6 @@
#ifndef IMV_VIEWPORT_H
#define IMV_VIEWPORT_H
-/* Copyright (c) imv authors
-
-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
#include <SDL2/SDL.h>
#include "texture.h"