sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit db1dcafd03997127f2cbc82376e2cc8df9b77356
parent ca3f3fe68ae72fec6f607278bf88d30ab1497627
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 25 Mar 2022 23:18:58 +0100

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().

Diffstat:
Msfeed_atom.c | 2--
Msfeed_curses.c | 1-
Msfeed_frames.c | 2--
Msfeed_gopher.c | 2--
Msfeed_html.c | 2--
Msfeed_plain.c | 2--
Msfeed_twtxt.c | 2--
7 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/sfeed_atom.c b/sfeed_atom.c @@ -1,5 +1,3 @@ -#include <sys/types.h> - #include <stdio.h> #include <string.h> #include <time.h> diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -4,7 +4,6 @@ #include <sys/types.h> #include <sys/wait.h> -#include <ctype.h> #include <errno.h> #include <fcntl.h> #include <locale.h> diff --git a/sfeed_frames.c b/sfeed_frames.c @@ -1,5 +1,3 @@ -#include <sys/types.h> - #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/sfeed_gopher.c b/sfeed_gopher.c @@ -1,5 +1,3 @@ -#include <sys/types.h> - #include <limits.h> #include <stdio.h> #include <stdlib.h> diff --git a/sfeed_html.c b/sfeed_html.c @@ -1,5 +1,3 @@ -#include <sys/types.h> - #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/sfeed_plain.c b/sfeed_plain.c @@ -1,5 +1,3 @@ -#include <sys/types.h> - #include <locale.h> #include <stdio.h> #include <string.h> diff --git a/sfeed_twtxt.c b/sfeed_twtxt.c @@ -1,5 +1,3 @@ -#include <sys/types.h> - #include <stdio.h> #include <string.h> #include <time.h>