Skip to content

Commit b78bcbb

Browse files
committed
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.
1 parent 6e17bfd commit b78bcbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/git2/buffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ GIT_EXTERN(void) git_buf_dispose(git_buf *buffer);
8181
*
8282
* This function is going to be removed in v0.30.0.
8383
*/
84-
GIT_EXTERN(void) GIT_DEPRECATED(git_buf_free)(git_buf *buffer);
84+
GIT_DEPRECATED(GIT_EXTERN(void)) git_buf_free(git_buf *buffer);
8585

8686
/**
8787
* Resize the buffer allocation to make more space.

0 commit comments

Comments
 (0)