From bbcf1dabd26bb4e93aa4780d1771c3b449c068ec Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Tue, 28 Mar 2023 11:19:11 -0600 Subject: Revert "tweak: move things around" This reverts commit ca59138a2aef96960381f986b8c683634e4d8e63. --- src/plugins/stand_in/stand_in.c | 27 --------------------------- src/plugins/stand_in/stand_in.h | 23 ----------------------- 2 files changed, 50 deletions(-) delete mode 100644 src/plugins/stand_in/stand_in.c delete mode 100644 src/plugins/stand_in/stand_in.h (limited to 'src/plugins/stand_in') diff --git a/src/plugins/stand_in/stand_in.c b/src/plugins/stand_in/stand_in.c deleted file mode 100644 index dbcc7e8..0000000 --- a/src/plugins/stand_in/stand_in.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Why this file is needed: - * If the plugins are disabled, - * their conditionals will never resolve - * and their functionality never comes into play - * but the compiler still wants to know their type -*/ - -int libre_redirect(const char* uri, char* uri_filtered){ - return 0; -} -void str_init(char* str, int n){ - -}; - -int str_replace_start(const char* string, const char* target, - const char* replacement, char* output){ - return 1; -}; - -void read_readability_js(char* string){ - -} - -void read_style_js(char* string){ - -} - diff --git a/src/plugins/stand_in/stand_in.h b/src/plugins/stand_in/stand_in.h deleted file mode 100644 index 062acf7..0000000 --- a/src/plugins/stand_in/stand_in.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Why this file is needed: - * If the plugins are disabled, - * their conditionals will never resolve - * and their functionality never comes into play - * but the compiler still wants to know their type -*/ - -#pragma once - -#define LIBRE_N 0 -#define STYLE_N 0 -#define READABILITY_N 84638 + 1 - -int libre_redirect(const char* uri, char* uri_filtered); -void str_init(char* str, int n); - -int str_replace_start(const char* string, const char* target, - const char* replacement, char* output); - -void read_readability_js(char* string); - -void read_style_js(char* string); - -- cgit v1.2.3