summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-03-03 12:45:46 +0100
committerVicent Marti <vicent@github.com>2014-03-03 12:45:46 +0100
commitf34b9a5984c1e090d995cd792c4135541a153c7b (patch)
treebeaedbaefb17bafb280d74c22a758d8042a7eb42 /src
parent494be429ad2d247a8d1fb2b43b8c715a4b9da663 (diff)
parentebb3c506fd880a383ea66679865e16e24253cb3a (diff)
downloadlibgit2-f34b9a5984c1e090d995cd792c4135541a153c7b.tar.gz
Merge pull request #2150 from libgit2/vmg/features
caps: Rename to features to avoid confusion
Diffstat (limited to 'src')
-rw-r--r--src/settings.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/settings.c b/src/settings.c
index 3856735f7..9308f94ec 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -17,17 +17,17 @@ void git_libgit2_version(int *major, int *minor, int *rev)
*rev = LIBGIT2_VER_REVISION;
}
-int git_libgit2_capabilities()
+int git_libgit2_features()
{
return 0
#ifdef GIT_THREADS
- | GIT_CAP_THREADS
+ | GIT_FEATURE_THREADS
#endif
#if defined(GIT_SSL) || defined(GIT_WINHTTP)
- | GIT_CAP_HTTPS
+ | GIT_FEATURE_HTTPS
#endif
#if defined(GIT_SSH)
- | GIT_CAP_SSH
+ | GIT_FEATURE_SSH
#endif
;
}