Skip to content

Commit

Permalink
Updated files in src/hddtemp_scsi to GPLv3
Browse files Browse the repository at this point in the history
  • Loading branch information
Knogle committed Oct 17, 2024
1 parent 0e66b3a commit 17e69b1
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 25 deletions.
6 changes: 3 additions & 3 deletions src/hddtemp_scsi/get_scsi_temp.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
*
* 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, version 2.
* Foundation, version 3.
*
* 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.
* this program; if not, see <http://www.gnu.org/licenses/>.
*/


//#define _LARGEFILE64_SOURCE
//#define _FILE_OFFSET_BITS 64
#define _BSD_SOURCE
Expand Down
7 changes: 3 additions & 4 deletions src/hddtemp_scsi/hddtemp.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@
*
* 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.
* the Free Software Foundation, either version 3 of the License.
*
* 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 St, Fifth Floor, Boston, MA 02110-1301 USA
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/


#ifndef __HDDTEMP_H__
#define __HDDTEMP_H__

Expand Down
11 changes: 5 additions & 6 deletions src/hddtemp_scsi/scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,24 @@
*
* 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.
* the Free Software Foundation, either version 3 of the License.
*
* 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 St, Fifth Floor, Boston, MA 02110-1301 USA
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
/*
* Adapted from a patch sended by : Frederic LOCHON <[email protected]>
* Adapted from a patch sent by: Frederic LOCHON <[email protected]>
*/
/*
* Adapted for use with nwipe by : Gerold Gruber <[email protected]>
* Adapted for use with nwipe by: Gerold Gruber <[email protected]>
*/


// Include file generated by ./configure
#ifdef HAVE_CONFIG_H
#include <config.h>
Expand Down
7 changes: 3 additions & 4 deletions src/hddtemp_scsi/scsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@
*
* 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.
* the Free Software Foundation, either version 3 of the License.
*
* 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 St, Fifth Floor, Boston, MA 02110-1301 USA
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/


#ifndef SCSIC_H_
#define SCSIC_H_

Expand Down
7 changes: 3 additions & 4 deletions src/hddtemp_scsi/scsicmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@
*
* 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.
* the Free Software Foundation, either version 3 of the License.
*
* 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 St, Fifth Floor, Boston, MA 02110-1301 USA
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/


// Include file generated by ./configure
#ifdef HAVE_CONFIG_H
#include <config.h>
Expand Down
7 changes: 3 additions & 4 deletions src/hddtemp_scsi/scsicmds.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@
*
* 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.
* the Free Software Foundation, either version 3 of the License.
*
* 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 St, Fifth Floor, Boston, MA 02110-1301 USA
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/



#ifndef SCSICMDS_H_
#define SCSICMDS_H_

Expand Down

0 comments on commit 17e69b1

Please sign in to comment.