diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-05-05 01:12:17 +0300 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-05-09 21:58:01 +0300 |
| commit | 02f9e637a1d282d03ce3362e7c3467e73c87bf2e (patch) | |
| tree | 9badae4c1a232d544ab857937d271d414d8e717e /src/common.h | |
| parent | cfba137707ba334b8f7917ca6261f842fa11a60e (diff) | |
| download | libgit2-02f9e637a1d282d03ce3362e7c3467e73c87bf2e.tar.gz | |
errors: Add error handling function
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 5ad878e26..b3f5253a9 100644 --- a/src/common.h +++ b/src/common.h @@ -56,4 +56,6 @@ typedef SSIZE_T ssize_t; #define GIT_PATH_MAX 4096 +extern int git__error(int error, const char *, ...) GIT_FORMAT_PRINTF(2, 3); + #endif /* INCLUDE_common_h__ */ |
