From 1014cf54546776c411483768cf90734addd4e1d5 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sat, 30 Apr 2016 15:10:18 +0200 Subject: Fix warning in Go 1.6: -Wimplicit-function-declaration --- librsync/librsync.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'librsync') 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); } -- cgit v1.2.3-70-g09d2