diff options
author | Jakob P. Liljenberg <admin@qvantnet.com> | 2021-12-29 14:21:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 14:21:13 +0100 |
commit | 03d6dfcd63c54ae7ee974c48c56b206a14d9bab4 (patch) | |
tree | 20a8562a282c1f639d461f0e759d17fb0968ab2c /src | |
parent | c5fd59f09f72eee2286f944556fccfdf0474bb89 (diff) | |
parent | 7a1c88adc40351f81418b6882aca2cb0d475b2c4 (diff) |
Merge pull request #209 from mariogrip/fix-missing-copyright-src
Fix some missing copyright in src files found by debian lintian
Diffstat (limited to 'src')
-rw-r--r-- | src/osx/btop_collect.cpp | 1 | ||||
-rw-r--r-- | src/osx/sensors.cpp | 18 | ||||
-rw-r--r-- | src/osx/sensors.hpp | 17 | ||||
-rw-r--r-- | src/osx/smc.cpp | 18 | ||||
-rw-r--r-- | src/osx/smc.hpp | 18 |
5 files changed, 72 insertions, 0 deletions
diff --git a/src/osx/btop_collect.cpp b/src/osx/btop_collect.cpp index 7b1091d..9f5355c 100644 --- a/src/osx/btop_collect.cpp +++ b/src/osx/btop_collect.cpp @@ -15,6 +15,7 @@ indent = tab tab-size = 4 */ + #include <CoreFoundation/CoreFoundation.h> #include <IOKit/IOKitLib.h> #include <arpa/inet.h> diff --git a/src/osx/sensors.cpp b/src/osx/sensors.cpp index 56aca68..e1f5f0e 100644 --- a/src/osx/sensors.cpp +++ b/src/osx/sensors.cpp @@ -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> diff --git a/src/osx/sensors.hpp b/src/osx/sensors.hpp index 48287ee..698fca6 100644 --- a/src/osx/sensors.hpp +++ b/src/osx/sensors.hpp @@ -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 { diff --git a/src/osx/smc.cpp b/src/osx/smc.cpp index 54fa422..a9c849b 100644 --- a/src/osx/smc.cpp +++ b/src/osx/smc.cpp @@ -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) { diff --git a/src/osx/smc.hpp b/src/osx/smc.hpp index 87ed2ef..b7681ed 100644 --- a/src/osx/smc.hpp +++ b/src/osx/smc.hpp @@ -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> |