Skip to content

Commit 43cb4a5

Browse files
committed
Merge branch 'style-header-consistency' of https://github.com/BenBE/htop into BenBE-style-header-consistency
2 parents 4103c23 + 8e4ce18 commit 43cb4a5

32 files changed

+126
-21
lines changed

CRT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Released under the GNU GPLv2+, see the COPYING file
77
in the source distribution for its full text.
88
*/
99

10-
#include "config.h"
10+
#include "config.h" // IWYU pragma: keep
1111

1212
#include <stdbool.h>
1313

CommandScreen.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*
2+
htop - CommandScreen.c
3+
(C) 2017,2020 ryenus
4+
(C) 2020,2021 htop dev team
5+
Released under the GNU GPLv2+, see the COPYING file
6+
in the source distribution for its full text.
7+
*/
8+
19
#include "config.h" // IWYU pragma: keep
210

311
#include "CommandScreen.h"

CommandScreen.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
#ifndef HEADER_CommandScreen
22
#define HEADER_CommandScreen
3+
/*
4+
htop - CommandScreen.h
5+
(C) 2017,2020 ryenus
6+
(C) 2020,2021 htop dev team
7+
Released under the GNU GPLv2+, see the COPYING file
8+
in the source distribution for its full text.
9+
*/
310

411
#include "InfoScreen.h"
512
#include "Object.h"

DynamicMeter.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
#ifndef HEADER_DynamicMeter
22
#define HEADER_DynamicMeter
3+
/*
4+
htop - DynamicMeter.h
5+
(C) 2021 htop dev team
6+
(C) 2021 Red Hat, Inc. All Rights Reserved.
7+
Released under the GNU GPLv2+, see the COPYING file
8+
in the source distribution for its full text.
9+
*/
310

411
#include <stdbool.h>
512

EnvScreen.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/*
2+
htop - EnvScreen.c
3+
(C) 2015,2016 Michael Klein
4+
(C) 2016,2017 Hisham H. Muhammad
5+
(C) 2020,2021 htop dev team
6+
Released under the GNU GPLv2+, see the COPYING file
7+
in the source distribution for its full text.
8+
*/
9+
110
#include "config.h" // IWYU pragma: keep
211

312
#include "EnvScreen.h"

EnvScreen.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#ifndef HEADER_EnvScreen
22
#define HEADER_EnvScreen
3+
/*
4+
htop - EnvScreen.h
5+
(C) 2015,2016 Michael Klein
6+
(C) 2016,2017 Hisham H. Muhammad
7+
(C) 2020,2021 htop dev team
8+
Released under the GNU GPLv2+, see the COPYING file
9+
in the source distribution for its full text.
10+
*/
311

412
#include "InfoScreen.h"
513
#include "Object.h"

InfoScreen.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*
2+
htop - InfoScreen.c
3+
(C) 2016 Hisham H. Muhammad
4+
(C) 2020,2022 htop dev team
5+
Released under the GNU GPLv2+, see the COPYING file
6+
in the source distribution for its full text.
7+
*/
8+
19
#include "config.h" // IWYU pragma: keep
210

311
#include "InfoScreen.h"

InfoScreen.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
#ifndef HEADER_InfoScreen
22
#define HEADER_InfoScreen
3+
/*
4+
htop - InfoScreen.h
5+
(C) 2016 Hisham H. Muhammad
6+
(C) 2020,2022 htop dev team
7+
Released under the GNU GPLv2+, see the COPYING file
8+
in the source distribution for its full text.
9+
*/
310

411
#include <stdbool.h>
512

Macros.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#ifndef HEADER_Macros
22
#define HEADER_Macros
3+
/*
4+
htop - Macros.h
5+
(C) 2020-2023 htop dev team
6+
Released under the GNU GPLv2+, see the COPYING file
7+
in the source distribution for its full text.
8+
*/
39

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

NetworkIOMeter.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
htop - NetworkIOMeter.c
3+
(C) 2020-2023 htop dev team
4+
Released under the GNU GPLv2+, see the COPYING file
5+
in the source distribution for its full text.
6+
*/
7+
18
#include "NetworkIOMeter.h"
29

310
#include <stdbool.h>

0 commit comments

Comments
 (0)