Remove some now uneeded error codes. By removing these I'm hoping
people will start to migrate to the posix/Be error codes and thus remove the possibility of mismatched codes being reported/checked. Think this change should cause no build problems, but it's possible I missed one or 2 instances... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@326 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -12,9 +12,7 @@
|
|||||||
|
|
||||||
/* General errors */
|
/* General errors */
|
||||||
#define ERR_GENERAL -1
|
#define ERR_GENERAL -1
|
||||||
#define ERR_NO_MEMORY ENOMEM
|
|
||||||
#define ERR_IO_ERROR EIO
|
#define ERR_IO_ERROR EIO
|
||||||
#define ERR_INVALID_ARGS EINVAL
|
|
||||||
#define ERR_TIMED_OUT ETIMEDOUT
|
#define ERR_TIMED_OUT ETIMEDOUT
|
||||||
#define ERR_NOT_ALLOWED EPERM
|
#define ERR_NOT_ALLOWED EPERM
|
||||||
#define ERR_PERMISSION_DENIED EACCES
|
#define ERR_PERMISSION_DENIED EACCES
|
||||||
@@ -27,14 +25,7 @@
|
|||||||
#define ERR_NOT_IMPLEMENTED_YET ERR_GENERAL-13
|
#define ERR_NOT_IMPLEMENTED_YET ERR_GENERAL-13
|
||||||
|
|
||||||
/* Semaphore errors */
|
/* Semaphore errors */
|
||||||
#define ERR_SEM_GENERAL -1024
|
#define ERR_SEM_NOT_INTERRUPTABLE -1030
|
||||||
#define ERR_SEM_DELETED ERR_SEM_GENERAL-1
|
|
||||||
#define ERR_SEM_TIMED_OUT ERR_SEM_GENERAL-2
|
|
||||||
#define ERR_SEM_OUT_OF_SLOTS ERR_SEM_GENERAL-3
|
|
||||||
#define ERR_SEM_NOT_ACTIVE ERR_SEM_GENERAL-4
|
|
||||||
#define ERR_SEM_INTERRUPTED ERR_SEM_GENERAL-5
|
|
||||||
#define ERR_SEM_NOT_INTERRUPTABLE ERR_SEM_GENERAL-6
|
|
||||||
#define ERR_SEM_NOT_FOUND ERR_SEM_GENERAL-7
|
|
||||||
|
|
||||||
|
|
||||||
/* Tasker errors */
|
/* Tasker errors */
|
||||||
|
|||||||
Reference in New Issue
Block a user