Remove traditional `errno` usage

On modern POSIX environments, `errno` may not be simple `int` type,
and <errno.h> is sufficient for `errno` and its symbolic values.

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 35e5ff35cf)
pull/20/head
OBATA Akio 5 years ago committed by Slávek Banko
parent 267ac73b42
commit 6b55b7c1c4
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -18,11 +18,9 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/errno.h>
#include <errno.h>
#include <ctype.h>
extern int errno;
#include "mpg123.h"
#ifndef INADDR_NONE

Loading…
Cancel
Save