summaryrefslogtreecommitdiff
path: root/opl
diff options
context:
space:
mode:
authorSimon Howard2014-05-05 00:20:54 -0400
committerSimon Howard2014-05-05 00:20:54 -0400
commit7684ddcfd8c2c5fe069425ed420ed73342f2d9e5 (patch)
tree13890144c30fae9be7f0a27a991810cfdd4d8dd1 /opl
parent869e52062b84ad65a8481f4a56bd83d2d31471a3 (diff)
downloadchocolate-doom-7684ddcfd8c2c5fe069425ed420ed73342f2d9e5.tar.gz
chocolate-doom-7684ddcfd8c2c5fe069425ed420ed73342f2d9e5.tar.bz2
chocolate-doom-7684ddcfd8c2c5fe069425ed420ed73342f2d9e5.zip
Clean up file headers.
This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
Diffstat (limited to 'opl')
-rw-r--r--opl/dbopl.c4
-rw-r--r--opl/dbopl.h4
-rw-r--r--opl/examples/droplay.c10
-rw-r--r--opl/ioperm_sys.c10
-rw-r--r--opl/ioperm_sys.h10
-rw-r--r--opl/opl.c10
-rw-r--r--opl/opl.h10
-rw-r--r--opl/opl_internal.h10
-rw-r--r--opl/opl_linux.c10
-rw-r--r--opl/opl_obsd.c10
-rw-r--r--opl/opl_queue.c10
-rw-r--r--opl/opl_queue.h10
-rw-r--r--opl/opl_sdl.c10
-rw-r--r--opl/opl_timer.c10
-rw-r--r--opl/opl_timer.h10
-rw-r--r--opl/opl_win32.c10
16 files changed, 14 insertions, 134 deletions
diff --git a/opl/dbopl.c b/opl/dbopl.c
index 0c21e0b6..bb7424f6 100644
--- a/opl/dbopl.c
+++ b/opl/dbopl.c
@@ -10,10 +10,6 @@
* 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.
*/
//
diff --git a/opl/dbopl.h b/opl/dbopl.h
index 63aa1330..71bfc959 100644
--- a/opl/dbopl.h
+++ b/opl/dbopl.h
@@ -10,10 +10,6 @@
* 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 <inttypes.h>
diff --git a/opl/examples/droplay.c b/opl/examples/droplay.c
index 36f5c3c0..99456050 100644
--- a/opl/examples/droplay.c
+++ b/opl/examples/droplay.c
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,16 +11,10 @@
// 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.
-//
// DESCRIPTION:
// Demonstration program for OPL library to play back DRO
// format files.
//
-//-----------------------------------------------------------------------------
#include <stdio.h>
diff --git a/opl/ioperm_sys.c b/opl/ioperm_sys.c
index 531b4136..6d0c63a5 100644
--- a/opl/ioperm_sys.c
+++ b/opl/ioperm_sys.c
@@ -1,8 +1,6 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
// Copyright(C) 2002, 2003 Marcel Telka
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -14,16 +12,10 @@
// 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.
-//
// DESCRIPTION:
// Interface to the ioperm.sys driver, based on code from the
// Cygwin ioperm library.
//
-//-----------------------------------------------------------------------------
#ifdef _WIN32
diff --git a/opl/ioperm_sys.h b/opl/ioperm_sys.h
index faf17bf3..1a27c3f1 100644
--- a/opl/ioperm_sys.h
+++ b/opl/ioperm_sys.h
@@ -1,8 +1,6 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
// Copyright(C) 2002, 2003 Marcel Telka
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -14,16 +12,10 @@
// 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.
-//
// DESCRIPTION:
// Interface to the ioperm.sys driver, based on code from the
// Cygwin ioperm library.
//
-//-----------------------------------------------------------------------------
#ifndef IOPERM_SYS_H
#define IOPERM_SYS_H
diff --git a/opl/opl.c b/opl/opl.c
index 4f88c53b..0666476d 100644
--- a/opl/opl.c
+++ b/opl/opl.c
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,15 +11,9 @@
// 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.
-//
// DESCRIPTION:
// OPL interface.
//
-//-----------------------------------------------------------------------------
#include "config.h"
diff --git a/opl/opl.h b/opl/opl.h
index 04d3cf27..f0879b4d 100644
--- a/opl/opl.h
+++ b/opl/opl.h
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,15 +11,9 @@
// 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.
-//
// DESCRIPTION:
// OPL interface.
//
-//-----------------------------------------------------------------------------
#ifndef OPL_OPL_H
diff --git a/opl/opl_internal.h b/opl/opl_internal.h
index 4a46b060..91a275d5 100644
--- a/opl/opl_internal.h
+++ b/opl/opl_internal.h
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,15 +11,9 @@
// 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.
-//
// DESCRIPTION:
// OPL internal interface.
//
-//-----------------------------------------------------------------------------
#ifndef OPL_INTERNAL_H
diff --git a/opl/opl_linux.c b/opl/opl_linux.c
index 319686b8..12d21075 100644
--- a/opl/opl_linux.c
+++ b/opl/opl_linux.c
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,15 +11,9 @@
// 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.
-//
// DESCRIPTION:
// OPL Linux interface.
//
-//-----------------------------------------------------------------------------
#include "config.h"
diff --git a/opl/opl_obsd.c b/opl/opl_obsd.c
index b07a0421..3313c1b2 100644
--- a/opl/opl_obsd.c
+++ b/opl/opl_obsd.c
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,15 +11,9 @@
// 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.
-//
// DESCRIPTION:
// OPL OpenBSD interface (also NetBSD)
//
-//-----------------------------------------------------------------------------
#include "config.h"
diff --git a/opl/opl_queue.c b/opl/opl_queue.c
index f9d4c377..d05cc6a1 100644
--- a/opl/opl_queue.c
+++ b/opl/opl_queue.c
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,16 +11,10 @@
// 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.
-//
// DESCRIPTION:
// Queue of waiting callbacks, stored in a binary min heap, so that we
// can always get the first callback.
//
-//-----------------------------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
diff --git a/opl/opl_queue.h b/opl/opl_queue.h
index 2447702b..b0f479f4 100644
--- a/opl/opl_queue.h
+++ b/opl/opl_queue.h
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,15 +11,9 @@
// 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.
-//
// DESCRIPTION:
// OPL callback queue.
//
-//-----------------------------------------------------------------------------
#ifndef OPL_QUEUE_H
#define OPL_QUEUE_H
diff --git a/opl/opl_sdl.c b/opl/opl_sdl.c
index 5059fb5e..4cd3dc7b 100644
--- a/opl/opl_sdl.c
+++ b/opl/opl_sdl.c
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,15 +11,9 @@
// 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.
-//
// DESCRIPTION:
// OPL SDL interface.
//
-//-----------------------------------------------------------------------------
#include "config.h"
diff --git a/opl/opl_timer.c b/opl/opl_timer.c
index 35b2092f..97e5ea8b 100644
--- a/opl/opl_timer.c
+++ b/opl/opl_timer.c
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,17 +11,11 @@
// 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.
-//
// DESCRIPTION:
// OPL timer thread.
// Once started using OPL_Timer_StartThread, the thread sleeps,
// waking up to invoke callbacks set using OPL_Timer_SetCallback.
//
-//-----------------------------------------------------------------------------
#include "SDL.h"
diff --git a/opl/opl_timer.h b/opl/opl_timer.h
index f03fc499..1febcac9 100644
--- a/opl/opl_timer.h
+++ b/opl/opl_timer.h
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,15 +11,9 @@
// 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.
-//
// DESCRIPTION:
// OPL timer thread.
//
-//-----------------------------------------------------------------------------
#ifndef OPL_TIMER_H
#define OPL_TIMER_H
diff --git a/opl/opl_win32.c b/opl/opl_win32.c
index 277ce76c..c6c37803 100644
--- a/opl/opl_win32.c
+++ b/opl/opl_win32.c
@@ -1,7 +1,5 @@
-// Emacs style mode select -*- C++ -*-
-//-----------------------------------------------------------------------------
//
-// Copyright(C) 2009 Simon Howard
+// Copyright(C) 2005-2014 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -13,15 +11,9 @@
// 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.
-//
// DESCRIPTION:
// OPL Win32 native interface.
//
-//-----------------------------------------------------------------------------
#include "config.h"