From 18cd96378df762bd588bb7c4110f8b1e49c28ce8 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Sun, 24 May 2009 17:25:50 +0200 Subject: [PATCH] Added gpl license comment to each file --- dsp.c | 17 +++++++++++++++++ main.c | 22 ++++++++++++++++++++-- utils.c | 17 +++++++++++++++++ vocal.h | 17 +++++++++++++++++ 4 files changed, 71 insertions(+), 2 deletions(-) diff --git a/dsp.c b/dsp.c index b43d7e1..ec6b6e1 100644 --- a/dsp.c +++ b/dsp.c @@ -1,3 +1,20 @@ +/*************************************************************************** + * 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 "vocal.h" int init_dsp( char *device ) { diff --git a/main.c b/main.c index 366c075..b572bb7 100644 --- a/main.c +++ b/main.c @@ -1,11 +1,29 @@ +/*************************************************************************** + * 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 "vocal.h" typedef enum { capture, append } mode; void helpandusage() { fprintf (stderr, - "---=== BlackLight's vocal recognition v.0.1b ===---\n" - "author @ blacklight@autistici.org\n\n" + "---=== BlackLight's && evilsocket's vocal recognition v.0.1b ===---\n" + "author @ blacklight@autistici.org\n" + "author @ evilsocket@gmail.com\n\n" "Usage: vocal [-d ] [-a] [-c ] [-h]\n\n" "\t-d \tUse a different device instead the default one (/dev/dsp)\n" "\t-a\t\tAppend a new vocal sample with an associated command\n" diff --git a/utils.c b/utils.c index 2cf534b..11e5d6a 100644 --- a/utils.c +++ b/utils.c @@ -1,3 +1,20 @@ +/*************************************************************************** + * 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 "vocal.h" char* getline (FILE *fp) { diff --git a/vocal.h b/vocal.h index 44bbc72..0d78beb 100644 --- a/vocal.h +++ b/vocal.h @@ -1,3 +1,20 @@ +/*************************************************************************** + * 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 #include #include