aboutsummaryrefslogtreecommitdiff
path: root/librsync
diff options
context:
space:
mode:
authorAyke van Laethem <aykevanlaethem@gmail.com>2016-04-30 15:10:18 +0200
committerAyke van Laethem <aykevanlaethem@gmail.com>2016-04-30 15:10:18 +0200
commit1014cf54546776c411483768cf90734addd4e1d5 (patch)
treea6079d36c2237e18a2cd7bfc2a1fd41de262657d /librsync
parent3275f0686a08d8e323568036f003b92b6655808c (diff)
downloadgolibrsync-1014cf54546776c411483768cf90734addd4e1d5.tar.gz
golibrsync-1014cf54546776c411483768cf90734addd4e1d5.tar.bz2
golibrsync-1014cf54546776c411483768cf90734addd4e1d5.zip
Fix warning in Go 1.6: -Wimplicit-function-declaration
Diffstat (limited to 'librsync')
-rw-r--r--librsync/librsync.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/librsync/librsync.go b/librsync/librsync.go
index a3a4e87..234b1f3 100644
--- a/librsync/librsync.go
+++ b/librsync/librsync.go
@@ -11,6 +11,8 @@ static inline rs_buffers_t* new_rs_buffers() {
return (rs_buffers_t*) malloc(sizeof(rs_buffers_t));
}
+rs_result patchCallbackGo(void *_patcher, rs_long_t pos, size_t *len, void *_buf);
+
rs_result patchCallback(void* _patcher, rs_long_t pos, size_t* len, void** _buf) {
return patchCallbackGo(_patcher, pos, len, _buf);
}