Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/amachronic/microtar.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-11-06 17:22:09 +0300
committerAidan MacDonald <amachronic@protonmail.com>2021-11-06 17:22:09 +0300
commit4b3e047ec696b124db903212615ffeef2d15b2bc (patch)
tree7bcaa424caa309f4d98ba1843647549900da2cc2
parent750bde2dbd9cbc523119909e785ed43489982577 (diff)
Renumber error codes to make them contiguous
-rw-r--r--src/microtar.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/microtar.h b/src/microtar.h
index 5ccb6df..0feb5ad 100644
--- a/src/microtar.h
+++ b/src/microtar.h
@@ -39,13 +39,13 @@ enum mtar_error {
MTAR_ESEEKFAIL = -5,
MTAR_ESEEKRANGE = -6,
MTAR_EBADCHKSUM = -7,
- MTAR_ENULLRECORD = -9,
- MTAR_ENOTFOUND = -10,
- MTAR_EOVERFLOW = -11,
- MTAR_EAPI = -12,
- MTAR_ENAMETOOLONG = -13,
- MTAR_ETOOSHORT = -14,
- MTAR_EACCESS = -15,
+ MTAR_ENULLRECORD = -8,
+ MTAR_ENOTFOUND = -9,
+ MTAR_EOVERFLOW = -10,
+ MTAR_EAPI = -11,
+ MTAR_ENAMETOOLONG = -12,
+ MTAR_ETOOSHORT = -13,
+ MTAR_EACCESS = -14,
MTAR_ELAST = MTAR_ETOOSHORT,
};