From 35e5ff35cf0a26eef2a614bfdcf95206bb96ccbb Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Wed, 10 Apr 2019 14:38:29 +0900 Subject: Remove traditional `errno` usage On modern POSIX environments, `errno` may not be simple `int` type, and is sufficient for `errno` and its symbolic values. Signed-off-by: OBATA Akio --- mpg123_artsplugin/mpg123/httpget.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mpg123_artsplugin/mpg123/httpget.c b/mpg123_artsplugin/mpg123/httpget.c index 71750115..3cf22e78 100644 --- a/mpg123_artsplugin/mpg123/httpget.c +++ b/mpg123_artsplugin/mpg123/httpget.c @@ -18,11 +18,9 @@ #include #include #include -#include +#include #include -extern int errno; - #include "mpg123.h" #ifndef INADDR_NONE -- cgit v1.2.3