Fix examples/general.c compilation git_reference_listall() -> git reference_list()
diff --git a/examples/general.c b/examples/general.c
index 4585a4a..5269785 100644
--- a/examples/general.c
+++ b/examples/general.c
@@ -392,7 +392,7 @@ int main (int argc, char** argv)
// Here we will implement something like `git for-each-ref` simply listing out all available
// references and the object SHA they resolve to.
git_strarray ref_list;
- git_reference_listall(&ref_list, repo, GIT_REF_LISTALL);
+ git_reference_list(&ref_list, repo, GIT_REF_LISTALL);
const char *refname;
git_reference *ref;