changeset 9053:4295d634797d

remove copyright notices from example files
author John W. Eaton <jwe@octave.org>
date Sat, 28 Mar 2009 11:26:27 -0400
parents 089bd295e4f7
children 0735e427c6c0
files examples/COPYING examples/addtwomatrices.cc examples/celldemo.cc examples/embedded.cc examples/firstmexdemo.c examples/fortdemo.cc examples/fortsub.f examples/funcdemo.cc examples/globaldemo.cc examples/hello.cc examples/helloworld.cc examples/make_int.cc examples/mycell.c examples/myfeval.c examples/myfevalf.f examples/myfunc.c examples/myhello.c examples/mypow2.c examples/myprop.c examples/myset.c examples/mysparse.c examples/mystring.c examples/mystruct.c examples/oregonator.cc examples/oregonator.m examples/paramdemo.cc examples/standalone.cc examples/stringdemo.cc examples/structdemo.cc examples/unwinddemo.cc
diffstat 30 files changed, 6 insertions(+), 602 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/examples/COPYING
@@ -0,0 +1,3 @@
+Copyright notices are intentionlly omitted from the files in the
+examples directory.  We don't want copyright notices cluttering the
+manual.
--- a/examples/addtwomatrices.cc
+++ b/examples/addtwomatrices.cc
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/oct.h>
 
 DEFUN_DLD (addtwomatrices, args, , "Add A to B")
--- a/examples/celldemo.cc
+++ b/examples/celldemo.cc
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/oct.h>
 #include <octave/Cell.h>
 
@@ -38,5 +15,6 @@
         for (octave_idx_type i = 0; i < c.nelem (); i++)
           retval(i) = c.elem (i);
     }
+
   return retval;
 }
--- a/examples/embedded.cc
+++ b/examples/embedded.cc
@@ -2,6 +2,7 @@
 #include <octave/oct.h>
 #include <octave/octave.h>
 #include <octave/parse.h>
+
 int
 main (void)
 {
--- a/examples/firstmexdemo.c
+++ b/examples/firstmexdemo.c
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include "mex.h"
 
 void
--- a/examples/fortdemo.cc
+++ b/examples/fortdemo.cc
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007, 2008 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/oct.h>
 #include <octave/f77-fcn.h>
 
--- a/examples/fortsub.f
+++ b/examples/fortsub.f
@@ -1,23 +1,3 @@
-c Copyright (C) 2007 John W. Eaton
-c 
-c This file is part of Octave.
-c 
-c Octave is free software; you can redistribute it and/or 
-c modify it under the terms of the GNU General Public
-c License as published by the Free Software Foundation;
-c either version 3 of the License, or (at your option) any
-c later version.
-c 
-c Octave is distributed in the hope that it will be useful, 
-c but WITHOUT ANY WARRANTY; without even the implied 
-c warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
-c PURPOSE. See the GNU General Public License for more 
-c details.
-c 
-c You should have received a copy of the GNU General Public
-c License along with Octave; see the file COPYING.  If not,
-c see <http://www.gnu.org/licenses/>.
-
       subroutine fortsub (n, a, s)
       implicit none
       character*(*) s
--- a/examples/funcdemo.cc
+++ b/examples/funcdemo.cc
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/oct.h>
 #include <octave/parse.h>
 
--- a/examples/globaldemo.cc
+++ b/examples/globaldemo.cc
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/oct.h>
 
 DEFUN_DLD (globaldemo, args, , "Global demo.")
--- a/examples/hello.cc
+++ b/examples/hello.cc
@@ -1,25 +1,3 @@
-/*
-
-Copyright (C) 1996, 1997, 1999, 2002, 2003, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3 of the License, or (at your
-option) any later version.
-
-Octave 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 Octave; see the file COPYING.  If not, see
-<http://www.gnu.org/licenses/>.
-
-*/
-
 // hello.cc -- example of a dynamically linked function for Octave.
 
 // To use this file, your version of Octave must support dynamic
--- a/examples/helloworld.cc
+++ b/examples/helloworld.cc
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/oct.h>
 
 DEFUN_DLD (helloworld, args, nargout,
--- a/examples/make_int.cc
+++ b/examples/make_int.cc
@@ -1,25 +1,3 @@
-/*
-
-Copyright (C) 1996, 1997, 1999, 2000, 2003, 2005, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3 of the License, or (at your
-option) any later version.
-
-Octave 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 Octave; see the file COPYING.  If not, see
-<http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/config.h>
 
 #include <cstdlib>
--- a/examples/mycell.c
+++ b/examples/mycell.c
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include "mex.h"
 
 void
--- a/examples/myfeval.c
+++ b/examples/myfeval.c
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include "mex.h"
 
 void
--- a/examples/myfevalf.f
+++ b/examples/myfevalf.f
@@ -1,21 +1,3 @@
-c Copyright (C) 2006, 2007 John W. Eaton
-c 
-c This file is part of Octave.
-c 
-c Octave is free software; you can redistribute it and/or modify it
-c under the terms of the GNU General Public License as published by the
-c Free Software Foundation; either version 3 of the License, or (at your
-c option) any later version.
-c 
-c Octave is distributed in the hope that it will be useful, but WITHOUT
-c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-c FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-c for more details.
-c 
-c You should have received a copy of the GNU General Public License
-c along with Octave; see the file COPYING.  If not, see
-c <http://www.gnu.org/licenses/>.
-
       subroutine mexFunction (nlhs, plhs, nrhs, prhs)
 
       implicit none
--- a/examples/myfunc.c
+++ b/examples/myfunc.c
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include "mex.h"
 
 void
--- a/examples/myhello.c
+++ b/examples/myhello.c
@@ -1,25 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3 of the License, or (at your
-option) any later version.
-
-Octave 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 Octave; see the file COPYING.  If not, see
-<http://www.gnu.org/licenses/>.
-
-*/
-
 #include "mex.h"
 
 void
--- a/examples/mypow2.c
+++ b/examples/mypow2.c
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include "mex.h"
 
 void
--- a/examples/myprop.c
+++ b/examples/myprop.c
@@ -1,25 +1,3 @@
-/*
-
-Copyright (C) 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3 of the License, or (at your
-option) any later version.
-
-Octave 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 Octave; see the file COPYING.  If not, see
-<http://www.gnu.org/licenses/>.
-
-*/
-
 #include "mex.h"
 
 void
--- a/examples/myset.c
+++ b/examples/myset.c
@@ -1,25 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3 of the License, or (at your
-option) any later version.
-
-Octave 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 Octave; see the file COPYING.  If not, see
-<http://www.gnu.org/licenses/>.
-
-*/
-
 #include "mex.h"
 
 void
--- a/examples/mysparse.c
+++ b/examples/mysparse.c
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 David Bateman
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include "mex.h"
 
 void
--- a/examples/mystring.c
+++ b/examples/mystring.c
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include <string.h>
 #include "mex.h"
 
--- a/examples/mystruct.c
+++ b/examples/mystruct.c
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include "mex.h"
 
 void
--- a/examples/oregonator.cc
+++ b/examples/oregonator.cc
@@ -1,25 +1,3 @@
-/*
-
-Copyright (C) 1997, 1998, 2000, 2002, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3 of the License, or (at your
-option) any later version.
-
-Octave 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 Octave; see the file COPYING.  If not, see
-<http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/oct.h>
 
 DEFUN_DLD (oregonator, args, ,
--- a/examples/oregonator.m
+++ b/examples/oregonator.m
@@ -1,21 +1,3 @@
-## Copyright (C) 1997, 1998, 2007 John W. Eaton
-##
-## This file is part of Octave.
-##
-## Octave 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 3 of the License, or (at
-## your option) any later version.
-##
-## Octave 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 Octave; see the file COPYING.  If not, see
-## <http://www.gnu.org/licenses/>.
-
 ## The `oregonator'.
 ##
 ## Reference:
--- a/examples/paramdemo.cc
+++ b/examples/paramdemo.cc
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/oct.h>
 
 DEFUN_DLD (paramdemo, args, nargout, 
--- a/examples/standalone.cc
+++ b/examples/standalone.cc
@@ -1,5 +1,6 @@
 #include <iostream>
 #include <octave/oct.h>
+
 int
 main (void)
 {
--- a/examples/stringdemo.cc
+++ b/examples/stringdemo.cc
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/oct.h>
 
 DEFUN_DLD (stringdemo, args, , "String Demo")
--- a/examples/structdemo.cc
+++ b/examples/structdemo.cc
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/oct.h>
 #include <octave/ov-struct.h>
 
--- a/examples/unwinddemo.cc
+++ b/examples/unwinddemo.cc
@@ -1,26 +1,3 @@
-/*
-
-Copyright (C) 2006, 2007 John W. Eaton
-
-This file is part of Octave.
-
-Octave 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 3  of the License, or (at your option) any later 
-version.
-
-Octave 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 Octave; see the file COPYING.  If not,
-see <http://www.gnu.org/licenses/>.
-
-*/
-
 #include <octave/oct.h>
 #include <octave/unwind-prot.h>