diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-12-23 01:15:09 +0300 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-12-23 01:15:09 +0300 |
commit | 9f54fe482dd369ebbae67b0b33f7efde206ba249 (patch) | |
tree | 5b239e63f5040ebece759c5143ea44916d17bb63 /src/common.h | |
parent | 11f6646f032c669170453e8e359ac337fa9abbb7 (diff) |
Remove git_errno
It was not being used by any methods (only by malloc and calloc), and
since it needs to be TLS, it cannot be exported on DLLs on Windows.
Burn it with fire. The API always returns error codes!
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index 821ee8844..287df60e2 100644 --- a/src/common.h +++ b/src/common.h @@ -49,7 +49,6 @@ typedef SSIZE_T ssize_t; #include "git2/common.h" #include "util.h" #include "thread-utils.h" -#include "errors.h" #include "bswap.h" #define GIT_PATH_MAX 4096 |