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>
pull/6/head
OBATA Akio 5 years ago
parent 06f9b8ef4d
commit 35e5ff35cf

@ -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