From af7bdca177816bfbe15f961d0b0e1968219402e3 Mon Sep 17 00:00:00 2001 From: Levente Kurusa Date: Tue, 27 Nov 2018 11:48:45 +0100 Subject: [PATCH] : Remove EUNUSED*. These values are not used (as their name suggests) and there is no reason for an application to ever see or use them. This has recently caused some confusion in the Rust ecosystem, and it looks like a comment would better serve the intended purpose than making these values available. Signed-off-by: Levente Kurusa --- sys/sys/errno.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/sys/errno.h b/sys/sys/errno.h index 090539cfcd..657e5ec267 100644 --- a/sys/sys/errno.h +++ b/sys/sys/errno.h @@ -185,11 +185,8 @@ static __inline int *__error(void) #if __BSD_VISIBLE #define ENOMEDIUM 93 /* linux */ -#define EUNUSED94 94 -#define EUNUSED95 95 -#define EUNUSED96 96 -#define EUNUSED97 97 -#define EUNUSED98 98 + +/* Error numbers 94 to 98 (inclusive) are unused. */ #define EASYNC 99 /* XXX */ -- 2.11.4.GIT