From f80394a20254938142011855f2954b3f63fe5909 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Tue, 15 Sep 2020 08:00:00 +0200 Subject: New upstream version 3.0.2 --- unsupported/Battery.h | 3 --- unsupported/Platform.c | 6 ------ unsupported/Platform.h | 2 -- unsupported/UnsupportedCRT.h | 3 --- unsupported/UnsupportedProcess.c | 6 ------ unsupported/UnsupportedProcess.h | 4 ---- unsupported/UnsupportedProcessList.c | 7 ++----- unsupported/UnsupportedProcessList.h | 6 +----- 8 files changed, 3 insertions(+), 34 deletions(-) (limited to 'unsupported') diff --git a/unsupported/Battery.h b/unsupported/Battery.h index 8dc0cef..21a1579 100644 --- a/unsupported/Battery.h +++ b/unsupported/Battery.h @@ -1,9 +1,6 @@ -/* Do not edit this file. It was automatically generated. */ - #ifndef HEADER_Battery #define HEADER_Battery void Battery_getData(double* level, ACPresence* isOnAC); - #endif diff --git a/unsupported/Platform.c b/unsupported/Platform.c index 0e46a34..420dfb7 100644 --- a/unsupported/Platform.c +++ b/unsupported/Platform.c @@ -16,12 +16,6 @@ in the source distribution for its full text. #include "HostnameMeter.h" #include "UptimeMeter.h" -/*{ -#include "Action.h" -#include "BatteryMeter.h" -#include "SignalsPanel.h" -#include "UnsupportedProcess.h" -}*/ const SignalItem Platform_signals[] = { { .name = " 0 Cancel", .number = 0 }, diff --git a/unsupported/Platform.h b/unsupported/Platform.h index 14f3d1a..2a3d768 100644 --- a/unsupported/Platform.h +++ b/unsupported/Platform.h @@ -1,5 +1,3 @@ -/* Do not edit this file. It was automatically generated. */ - #ifndef HEADER_Platform #define HEADER_Platform /* diff --git a/unsupported/UnsupportedCRT.h b/unsupported/UnsupportedCRT.h index 3c808ca..24d63e5 100644 --- a/unsupported/UnsupportedCRT.h +++ b/unsupported/UnsupportedCRT.h @@ -1,5 +1,3 @@ -/* Do not edit this file. It was automatically generated. */ - #ifndef HEADER_UnsupportedCRT #define HEADER_UnsupportedCRT /* @@ -11,5 +9,4 @@ in the source distribution for its full text. void CRT_handleSIGSEGV(int sgn); - #endif diff --git a/unsupported/UnsupportedProcess.c b/unsupported/UnsupportedProcess.c index e3b4689..63e26ad 100644 --- a/unsupported/UnsupportedProcess.c +++ b/unsupported/UnsupportedProcess.c @@ -9,12 +9,6 @@ in the source distribution for its full text. #include "UnsupportedProcess.h" #include -/*{ -#include "Settings.h" - -#define Process_delete UnsupportedProcess_delete - -}*/ Process* UnsupportedProcess_new(Settings* settings) { Process* this = xCalloc(1, sizeof(Process)); diff --git a/unsupported/UnsupportedProcess.h b/unsupported/UnsupportedProcess.h index 4ca3043..dbe9bf5 100644 --- a/unsupported/UnsupportedProcess.h +++ b/unsupported/UnsupportedProcess.h @@ -1,5 +1,3 @@ -/* Do not edit this file. It was automatically generated. */ - #ifndef HEADER_UnsupportedProcess #define HEADER_UnsupportedProcess /* @@ -13,10 +11,8 @@ in the source distribution for its full text. #define Process_delete UnsupportedProcess_delete - Process* UnsupportedProcess_new(Settings* settings); void UnsupportedProcess_delete(Object* cast); - #endif diff --git a/unsupported/UnsupportedProcessList.c b/unsupported/UnsupportedProcessList.c index 65749b1..fc8a54d 100644 --- a/unsupported/UnsupportedProcessList.c +++ b/unsupported/UnsupportedProcessList.c @@ -11,13 +11,10 @@ in the source distribution for its full text. #include #include -/*{ -}*/ - -ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId) { +ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidMatchList, uid_t userId) { ProcessList* this = xCalloc(1, sizeof(ProcessList)); - ProcessList_init(this, Class(Process), usersTable, pidWhiteList, userId); + ProcessList_init(this, Class(Process), usersTable, pidMatchList, userId); return this; } diff --git a/unsupported/UnsupportedProcessList.h b/unsupported/UnsupportedProcessList.h index 6eb1308..c4b51ac 100644 --- a/unsupported/UnsupportedProcessList.h +++ b/unsupported/UnsupportedProcessList.h @@ -1,5 +1,3 @@ -/* Do not edit this file. It was automatically generated. */ - #ifndef HEADER_UnsupportedProcessList #define HEADER_UnsupportedProcessList /* @@ -9,9 +7,7 @@ Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ - - -ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId); +ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidMatchList, uid_t userId); void ProcessList_delete(ProcessList* this); -- cgit v1.2.3