From b78efd790566545e2e3d0793b3b30fdf7bad38bc Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Mon, 4 Sep 2023 10:49:38 +0200 Subject: [PATCH] types: remove some duplicated error codes --- include/re_types.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/include/re_types.h b/include/re_types.h index cbef418dd..362335382 100644 --- a/include/re_types.h +++ b/include/re_types.h @@ -142,26 +142,6 @@ typedef SSIZE_T ssize_t; /* Duplication of error codes. Values are from linux asm-generic/errno.h */ -/** No data available */ -#ifndef ENODATA -#define ENODATA 200 -#endif - -/** Protocol error */ -#ifndef EPROTO -#define EPROTO 201 -#endif - -/** Not a data message */ -#ifndef EBADMSG -#define EBADMSG 202 -#endif - -/** Value too large for defined data type */ -#ifndef EOVERFLOW -#define EOVERFLOW 203 -#endif - /** Accessing a corrupted shared library */ #ifndef ELIBBAD #define ELIBBAD 204