diff options
author | Zev Weiss <zev@bewilderbeest.net> | 2019-12-21 01:09:25 -0800 |
---|---|---|
committer | Zev Weiss <zev@bewilderbeest.net> | 2020-09-03 11:58:58 -0500 |
commit | a1a027b9bd833db5384d7dc65046194018eb8bfa (patch) | |
tree | c8e906c53b485435ceb79b30a3b5faa28554f0ca /unsupported | |
parent | 7734dfe55d7c005063f2682e5611fc11e9143fd9 (diff) |
Axe automated header generation.
Reasoning:
- implementation was unsound -- broke down when I added a fairly
basic macro definition expanding to a struct initializer in a *.c
file.
- made it way too easy (e.g. via otherwise totally innocuous git
commands) to end up with timestamps such that it always ran
MakeHeader.py but never used its output, leading to overbuild noise
when running what should be a null 'make'.
- but mostly: it's just an awkward way of dealing with C code.
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Battery.h | 2 | ||||
-rw-r--r-- | unsupported/Platform.c | 6 | ||||
-rw-r--r-- | unsupported/Platform.h | 2 | ||||
-rw-r--r-- | unsupported/UnsupportedCRT.h | 2 | ||||
-rw-r--r-- | unsupported/UnsupportedProcess.c | 6 | ||||
-rw-r--r-- | unsupported/UnsupportedProcess.h | 2 | ||||
-rw-r--r-- | unsupported/UnsupportedProcessList.c | 3 | ||||
-rw-r--r-- | unsupported/UnsupportedProcessList.h | 2 |
8 files changed, 0 insertions, 25 deletions
diff --git a/unsupported/Battery.h b/unsupported/Battery.h index 8dc0cef6..24d8f5c2 100644 --- a/unsupported/Battery.h +++ b/unsupported/Battery.h @@ -1,5 +1,3 @@ -/* Do not edit this file. It was automatically generated. */ - #ifndef HEADER_Battery #define HEADER_Battery diff --git a/unsupported/Platform.c b/unsupported/Platform.c index 0e46a348..420dfb78 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 14f3d1a6..2a3d768c 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 3c808ca6..c8eff180 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 /* diff --git a/unsupported/UnsupportedProcess.c b/unsupported/UnsupportedProcess.c index e3b4689a..63e26add 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 <stdlib.h> -/*{ -#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 4ca30436..467297b5 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 /* diff --git a/unsupported/UnsupportedProcessList.c b/unsupported/UnsupportedProcessList.c index 65749b18..cad579c2 100644 --- a/unsupported/UnsupportedProcessList.c +++ b/unsupported/UnsupportedProcessList.c @@ -11,9 +11,6 @@ in the source distribution for its full text. #include <stdlib.h> #include <string.h> -/*{ - -}*/ ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId) { ProcessList* this = xCalloc(1, sizeof(ProcessList)); diff --git a/unsupported/UnsupportedProcessList.h b/unsupported/UnsupportedProcessList.h index 6eb13086..093a8c43 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 /* |