summaryrefslogtreecommitdiff
path: root/include/git2/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/buffer.h')
-rw-r--r--include/git2/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/buffer.h b/include/git2/buffer.h
index c06e2b299..050afb9fb 100644
--- a/include/git2/buffer.h
+++ b/include/git2/buffer.h
@@ -81,7 +81,7 @@ GIT_EXTERN(void) git_buf_dispose(git_buf *buffer);
*
* This function is going to be removed in v0.30.0.
*/
-GIT_EXTERN(void) GIT_DEPRECATED(git_buf_free)(git_buf *buffer);
+GIT_DEPRECATED(GIT_EXTERN(void)) git_buf_free(git_buf *buffer);
/**
* Resize the buffer allocation to make more space.