From 8671b27a19c6244c0f53eb29e845ad09958ed66d Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 18 Jun 2009 07:33:46 -0400 Subject: [PATCH] Added GPL blurbs to err_mac.h and stripchart.py. Also replaced `you should include stdio.h' comment in err_mac.h with `#include '. I dunno what I was thinking before ;). --- err_mac.h | 27 ++++++++++++++++++++++++++- stripchart.py | 23 +++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/err_mac.h b/err_mac.h index ad50762..11353e3 100644 --- a/err_mac.h +++ b/err_mac.h @@ -1,4 +1,29 @@ -/* need to include STDIO.H for FPRINTF() */ +/* + err_mac - convenient macros for error-checking + + Copyright (C) 2007-2009 William Trevor King + + 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 3 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. + + The author may be contacted at on the Internet, or + write to Trevor King, Drexel University, Physics Dept., 3141 Chestnut St., + Philadelphia PA 19104, USA. +*/ + +#include /* for fprintf(), stderr */ #define SUCCESS 0 #define FAILURE 1 diff --git a/stripchart.py b/stripchart.py index bf27ca1..92b39d4 100644 --- a/stripchart.py +++ b/stripchart.py @@ -1,3 +1,26 @@ +# stripchart - tools for quick and dirty data plotting. +# +# Copyright (C) 2008-2009 William Trevor King +# +# 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 3 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. +# +# The author may be contacted at on the Internet, or +# write to Trevor King, Drexel University, Physics Dept., 3141 Chestnut St., +# Philadelphia PA 19104, USA. + import os class stripchart : -- 2.26.2