From 21790adad1672689225efe38b6a59494181d323b Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 16 May 2023 20:11:21 +0200 Subject: improve to use proper includes Reduce using some of the unneeded sys/* headers too. This makes it slightly more portable or easier to port also. --- sfeed_atom.c | 2 -- sfeed_curses.c | 2 -- sfeed_frames.c | 2 -- sfeed_gopher.c | 2 -- sfeed_html.c | 2 -- sfeed_json.c | 3 +-- sfeed_plain.c | 2 -- sfeed_twtxt.c | 2 -- 8 files changed, 1 insertion(+), 16 deletions(-) diff --git a/sfeed_atom.c b/sfeed_atom.c index 99facad..d0b139d 100644 --- a/sfeed_atom.c +++ b/sfeed_atom.c @@ -1,5 +1,3 @@ -#include - #include #include #include diff --git a/sfeed_curses.c b/sfeed_curses.c index f54b4d6..0ce9a4e 100644 --- a/sfeed_curses.c +++ b/sfeed_curses.c @@ -1,7 +1,5 @@ #include #include -#include -#include #include #include diff --git a/sfeed_frames.c b/sfeed_frames.c index b2f75cf..53f44a6 100644 --- a/sfeed_frames.c +++ b/sfeed_frames.c @@ -1,5 +1,3 @@ -#include - #include #include #include diff --git a/sfeed_gopher.c b/sfeed_gopher.c index af6a49c..c879864 100644 --- a/sfeed_gopher.c +++ b/sfeed_gopher.c @@ -1,5 +1,3 @@ -#include - #include #include #include diff --git a/sfeed_html.c b/sfeed_html.c index 9269413..2142145 100644 --- a/sfeed_html.c +++ b/sfeed_html.c @@ -1,5 +1,3 @@ -#include - #include #include #include diff --git a/sfeed_json.c b/sfeed_json.c index e177d2b..4fe5942 100644 --- a/sfeed_json.c +++ b/sfeed_json.c @@ -1,7 +1,6 @@ #include -#include #include -#include +#include #include "util.h" diff --git a/sfeed_plain.c b/sfeed_plain.c index f8ce7ec..adeefdb 100644 --- a/sfeed_plain.c +++ b/sfeed_plain.c @@ -1,5 +1,3 @@ -#include - #include #include #include diff --git a/sfeed_twtxt.c b/sfeed_twtxt.c index 1d8ab36..1bb9d3b 100644 --- a/sfeed_twtxt.c +++ b/sfeed_twtxt.c @@ -1,5 +1,3 @@ -#include - #include #include #include -- cgit v1.2.3