Skip to content

Commit

Permalink
Merge pull request #209 from mariogrip/fix-missing-copyright-src
Browse files Browse the repository at this point in the history
Fix some missing copyright in src files found by debian lintian
  • Loading branch information
aristocratos committed Dec 29, 2021
2 parents c5fd59f + 7a1c88a commit 03d6dfc
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/osx/btop_collect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
indent = tab
tab-size = 4
*/

#include <CoreFoundation/CoreFoundation.h>
#include <IOKit/IOKitLib.h>
#include <arpa/inet.h>
Expand Down
18 changes: 18 additions & 0 deletions src/osx/sensors.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* Copyright 2021 Aristocratos (jakob@qvantnet.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
indent = tab
tab-size = 4
*/

#include "sensors.hpp"

#include <CoreFoundation/CoreFoundation.h>
Expand Down
17 changes: 17 additions & 0 deletions src/osx/sensors.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* Copyright 2021 Aristocratos (jakob@qvantnet.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
indent = tab
tab-size = 4
*/

namespace Cpu {
class ThermalSensors {
Expand Down
18 changes: 18 additions & 0 deletions src/osx/smc.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* Copyright 2021 Aristocratos (jakob@qvantnet.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
indent = tab
tab-size = 4
*/

#include "smc.hpp"

static UInt32 _strtoul(char *str, int size, int base) {
Expand Down
18 changes: 18 additions & 0 deletions src/osx/smc.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* Copyright 2021 Aristocratos (jakob@qvantnet.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
indent = tab
tab-size = 4
*/

#pragma once

#include <CoreFoundation/CoreFoundation.h>
Expand Down

0 comments on commit 03d6dfc

Please sign in to comment.