summaryrefslogtreecommitdiff
path: root/src/git/errors.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-12-06 23:03:16 +0200
committerVicent Marti <tanoku@gmail.com>2010-12-06 23:03:16 +0200
commit44908fe763b1a2097b65c86130ac679c458df7d2 (patch)
treed4b2e597ec985cabff2236895c4515100a5063e4 /src/git/errors.h
parentd12299fe22e549a20e632668fdbe13cab9def9df (diff)
downloadlibgit2-44908fe763b1a2097b65c86130ac679c458df7d2.tar.gz
Change the library include file
Libgit2 is now officially include as #include "<git2.h>" or indidividual files may be included as #include <git2/index.h> Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/git/errors.h')
-rw-r--r--src/git/errors.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/git/errors.h b/src/git/errors.h
deleted file mode 100644
index f4720bebe..000000000
--- a/src/git/errors.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef INCLUDE_git_errors_h__
-#define INCLUDE_git_errors_h__
-
-/**
- * @file git/errors.h
- * @brief Git error handling routines and variables
- * @ingroup Git
- * @{
- */
-GIT_BEGIN_DECL
-
-/** The git errno. */
-#if defined(GIT_TLS)
-GIT_EXTERN_TLS(int) git_errno;
-
-#elif defined(GIT_HAS_PTHREAD)
-# define git_errno (*git__errno_storage())
-GIT_EXTERN(int *) git__errno_storage(void);
-
-#endif
-
-/**
- * strerror() for the Git library
- * @param num The error code to explain
- * @return a string explaining the error code
- */
-GIT_EXTERN(const char *) git_strerror(int num);
-
-/** @} */
-GIT_END_DECL
-#endif