summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorMichael Schubert <schu@schu.io>2012-07-17 10:52:16 +0200
committerMichael Schubert <schu@schu.io>2012-07-17 10:52:16 +0200
commit6fc0bdc53e0392a908d6b4c89827e06f2bb19b4a (patch)
tree7b35de9453d8edce1574c2a681bc05b71750f0f5 /src/common.h
parentea5d2ce4cfa6cec89e2d844a70d1eb24bb401c7d (diff)
downloadlibgit2-6fc0bdc53e0392a908d6b4c89827e06f2bb19b4a.tar.gz
Remove old error handling code
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/common.h b/src/common.h
index 419a8d06b..1db308fc7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -49,15 +49,6 @@
#include <regex.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)
-
-
#define GITERR_CHECK_ALLOC(ptr) if (ptr == NULL) { return -1; }
void giterr_set_oom(void);
@@ -68,5 +59,4 @@ void giterr_set_regex(const regex_t *regex, int error_code);
#include "util.h"
-
#endif /* INCLUDE_common_h__ */