Skip to content

Commit

Permalink
Add missing copyright/file headers
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBE committed May 25, 2023
1 parent 32f8d4c commit 8e4ce18
Show file tree
Hide file tree
Showing 17 changed files with 111 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CommandScreen.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
htop - CommandScreen.c
(C) 2017,2020 ryenus
(C) 2020,2021 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "config.h" // IWYU pragma: keep

#include "CommandScreen.h"
Expand Down
7 changes: 7 additions & 0 deletions CommandScreen.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#ifndef HEADER_CommandScreen
#define HEADER_CommandScreen
/*
htop - CommandScreen.h
(C) 2017,2020 ryenus
(C) 2020,2021 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "InfoScreen.h"
#include "Object.h"
Expand Down
8 changes: 8 additions & 0 deletions DynamicColumn.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#ifndef HEADER_DynamicColumn
#define HEADER_DynamicColumn
/*
htop - DynamicColumn.h
(C) 2021 Sohaib Mohammed
(C) 2021 htop dev team
(C) 2021 Red Hat, Inc. All Rights Reserved.
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include <stdbool.h>

Expand Down
7 changes: 7 additions & 0 deletions DynamicMeter.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#ifndef HEADER_DynamicMeter
#define HEADER_DynamicMeter
/*
htop - DynamicMeter.h
(C) 2021 htop dev team
(C) 2021 Red Hat, Inc. All Rights Reserved.
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include <stdbool.h>

Expand Down
9 changes: 9 additions & 0 deletions EnvScreen.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
htop - EnvScreen.c
(C) 2015,2016 Michael Klein
(C) 2016,2017 Hisham H. Muhammad
(C) 2020,2021 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "config.h" // IWYU pragma: keep

#include "EnvScreen.h"
Expand Down
8 changes: 8 additions & 0 deletions EnvScreen.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#ifndef HEADER_EnvScreen
#define HEADER_EnvScreen
/*
htop - EnvScreen.h
(C) 2015,2016 Michael Klein
(C) 2016,2017 Hisham H. Muhammad
(C) 2020,2021 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "InfoScreen.h"
#include "Object.h"
Expand Down
8 changes: 8 additions & 0 deletions InfoScreen.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
htop - InfoScreen.c
(C) 2016 Hisham H. Muhammad
(C) 2020,2022 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "config.h" // IWYU pragma: keep

#include "InfoScreen.h"
Expand Down
7 changes: 7 additions & 0 deletions InfoScreen.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#ifndef HEADER_InfoScreen
#define HEADER_InfoScreen
/*
htop - InfoScreen.h
(C) 2016 Hisham H. Muhammad
(C) 2020,2022 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include <stdbool.h>

Expand Down
6 changes: 6 additions & 0 deletions Macros.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#ifndef HEADER_Macros
#define HEADER_Macros
/*
htop - Macros.h
(C) 2020-2023 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include <assert.h> // IWYU pragma: keep

Expand Down
7 changes: 7 additions & 0 deletions NetworkIOMeter.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
htop - NetworkIOMeter.c
(C) 2020-2023 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "NetworkIOMeter.h"

#include <stdbool.h>
Expand Down
6 changes: 6 additions & 0 deletions NetworkIOMeter.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#ifndef HEADER_NetworkIOMeter
#define HEADER_NetworkIOMeter
/*
htop - NetworkIOMeter.h
(C) 2020-2023 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "Meter.h"

Expand Down
2 changes: 1 addition & 1 deletion ProvideCurses.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef HEADER_ProvideCurses
#define HEADER_ProvideCurses
/*
htop - RichString.h
htop - ProvideCurses.h
(C) 2004,2011 Hisham H. Muhammad
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
Expand Down
2 changes: 1 addition & 1 deletion ProvideTerm.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef HEADER_ProvideTerm
#define HEADER_ProvideTerm
/*
htop - Filename.h
htop - ProvideTerm.h
(C) 2023 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
Expand Down
7 changes: 7 additions & 0 deletions linux/LibSensors.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
htop - linux/LibSensors.c
(C) 2020-2023 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "config.h" // IWYU pragma: keep

#include "linux/LibSensors.h"
Expand Down
6 changes: 6 additions & 0 deletions linux/LibSensors.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#ifndef HEADER_LibSensors
#define HEADER_LibSensors
/*
htop - linux/LibSensors.h
(C) 2020-2023 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "linux/LinuxMachine.h"

Expand Down
8 changes: 8 additions & 0 deletions linux/ZramMeter.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
htop - linux/ZramMeter.c
(C) 2020 Murloc Knight
(C) 2020-2023 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "linux/ZramMeter.h"

#include <stddef.h>
Expand Down
7 changes: 7 additions & 0 deletions linux/ZramMeter.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#ifndef HEADER_ZramMeter
#define HEADER_ZramMeter
/*
htop - linux/ZramMeter.h
(C) 2020 Murloc Knight
(C) 2020-2023 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "Meter.h"

Expand Down

0 comments on commit 8e4ce18

Please sign in to comment.