summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-07-25 20:01:26 +0200
committerRichard Braun <rbraun@sceen.net>2017-07-25 20:01:26 +0200
commit0f214095fecca1a35df76619cb381c6793e0fdcd (patch)
tree1eb16ffce011dd7707c2ae56b128720512e7ecec
parenta59f4e53bd02da4d59c6f68df9ecf59333871f2a (diff)
error: prune unused errors
-rw-r--r--error.c4
-rw-r--r--error.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/error.c b/error.c
index 1eb102a..a29588a 100644
--- a/error.c
+++ b/error.c
@@ -48,11 +48,7 @@ static const char *errormsg_table[] = {
"not enough resources",
"operation not permitted",
"resource busy",
- "memory limit exceeded",
"operation timed out",
- "operation would block",
- "entry not found",
- "internal memory allocator failure",
"resource temporarily unavailable",
"entry exist",
};
diff --git a/error.h b/error.h
index ff3c1eb..7c3c33c 100644
--- a/error.h
+++ b/error.h
@@ -54,11 +54,7 @@ enum {
ERROR_NORES,
ERROR_PERM,
ERROR_BUSY,
- ERROR_MEMLIM,
ERROR_TIMEDOUT,
- ERROR_WOULDBLOCK,
- ERROR_LOOKUP,
- ERROR_MEM_CACHE,
ERROR_AGAIN,
ERROR_EXIST,
};