From db1dcafd03997127f2cbc82376e2cc8df9b77356 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Fri, 25 Mar 2022 23:18:58 +0100 Subject: rm sys/types.h include and improve portability This include is not needed. It was intended for ssize_t but this is already defined by stdio.h for getline(). --- sfeed_atom.c | 2 -- sfeed_curses.c | 1 - sfeed_frames.c | 2 -- sfeed_gopher.c | 2 -- sfeed_html.c | 2 -- sfeed_plain.c | 2 -- sfeed_twtxt.c | 2 -- 7 files changed, 13 deletions(-) diff --git a/sfeed_atom.c b/sfeed_atom.c index 3ce5cf0..c74e5fa 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 484593b..0d878f7 100644 --- a/sfeed_curses.c +++ b/sfeed_curses.c @@ -4,7 +4,6 @@ #include #include -#include #include #include #include diff --git a/sfeed_frames.c b/sfeed_frames.c index 178a4a2..7fcf3ee 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 7da41f6..0d3ea38 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 ce96687..ebc9acd 100644 --- a/sfeed_html.c +++ b/sfeed_html.c @@ -1,5 +1,3 @@ -#include - #include #include #include diff --git a/sfeed_plain.c b/sfeed_plain.c index 8b1f00f..732eb04 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