1111#include "git2/types.h"
1212#include "git2/oid.h"
1313#include "git2/odb.h"
14+ #include "git2/buffer.h"
1415
1516/**
1617 * @file git2/sys/mempack.h
@@ -38,10 +39,10 @@ GIT_BEGIN_DECL
3839 * Subsequent reads will also be served from the in-memory store
3940 * to ensure consistency, until the memory store is dumped.
4041 *
41- * @param out Poiter where to store the ODB backend
42+ * @param out Pointer where to store the ODB backend
4243 * @return 0 on success; error code otherwise
4344 */
44- int git_mempack_new (git_odb_backend * * out );
45+ GIT_EXTERN ( int ) git_mempack_new (git_odb_backend * * out );
4546
4647/**
4748 * Dump all the queued in-memory writes to a packfile.
@@ -64,7 +65,7 @@ int git_mempack_new(git_odb_backend **out);
6465 * @param backend The mempack backend
6566 * @return 0 on success; error code otherwise
6667 */
67- int git_mempack_dump (git_buf * pack , git_repository * repo , git_odb_backend * backend );
68+ GIT_EXTERN ( int ) git_mempack_dump (git_buf * pack , git_repository * repo , git_odb_backend * backend );
6869
6970/**
7071 * Reset the memory packer by clearing all the queued objects.
@@ -78,7 +79,7 @@ int git_mempack_dump(git_buf *pack, git_repository *repo, git_odb_backend *backe
7879 *
7980 * @param backend The mempack backend
8081 */
81- void git_mempack_reset (git_odb_backend * backend );
82+ GIT_EXTERN ( void ) git_mempack_reset (git_odb_backend * backend );
8283
8384GIT_END_DECL
8485
0 commit comments