summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-09 13:21:23 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-17 21:17:32 +0000
commitb78bcbb9b1217d6aada0ab98f3053cb8f151a8a3 (patch)
tree1742f8c4ec9c81c514399513af145204c4cd4daf
parent6e17bfda57467b32b5709e8d9014eae767810869 (diff)
downloadlibgit2-b78bcbb9b1217d6aada0ab98f3053cb8f151a8a3.tar.gz
buffer: wrap EXTERN in DEPRECATED
The GIT_EXTERN macro needs to provide order-specific attributes; update users of the GIT_DEPRECATED macro to allow for that.
-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.