summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/common.h b/src/common.h
index 727a08e77..f4dcc1ccd 100644
--- a/src/common.h
+++ b/src/common.h
@@ -50,14 +50,7 @@ typedef SSIZE_T ssize_t;
#include "thread-utils.h"
#include "bswap.h"
-extern void git___throw(const char *, ...) GIT_FORMAT_PRINTF(1, 2);
-#define git__throw(error, ...) \
- (git___throw(__VA_ARGS__), error)
-
-extern void git___rethrow(const char *, ...) GIT_FORMAT_PRINTF(1, 2);
-#define git__rethrow(error, ...) \
- (git___rethrow(__VA_ARGS__), error)
-
+#include "errors.h"
#include "util.h"
#endif /* INCLUDE_common_h__ */