From a1a027b9bd833db5384d7dc65046194018eb8bfa Mon Sep 17 00:00:00 2001 From: Zev Weiss Date: Sat, 21 Dec 2019 01:09:25 -0800 Subject: 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. --- ColorsPanel.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'ColorsPanel.h') diff --git a/ColorsPanel.h b/ColorsPanel.h index 82b782b8..337a7f43 100644 --- a/ColorsPanel.h +++ b/ColorsPanel.h @@ -1,5 +1,3 @@ -/* Do not edit this file. It was automatically generated. */ - #ifndef HEADER_ColorsPanel #define HEADER_ColorsPanel /* -- cgit v1.2.3 From 7b7822b896af7673b9e13f0f1807e187ef2d4370 Mon Sep 17 00:00:00 2001 From: Zev Weiss Date: Wed, 2 Sep 2020 02:38:44 -0500 Subject: Remove superfluous 'extern's from function declarations. Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg --- ColorsPanel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ColorsPanel.h') diff --git a/ColorsPanel.h b/ColorsPanel.h index 337a7f43..96a82a42 100644 --- a/ColorsPanel.h +++ b/ColorsPanel.h @@ -27,6 +27,6 @@ typedef struct ColorsPanel_ { extern PanelClass ColorsPanel_class; -extern ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr); +ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr); #endif -- cgit v1.2.3