Skip to content

Commit

Permalink
types: remove some duplicated error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Sep 4, 2023
1 parent 4e96dcc commit b78efd7
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions include/re_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b78efd7

Please sign in to comment.