From d7a226e0e65769f33477288ec4a4b123b397039c Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 7 May 2014 12:38:57 +0200 Subject: [PATCH] Silent warning: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit warning: no previous prototype for ‘set_csync_file_locked_or_open_ext’ [-Wmissing-prototypes] --- csync/src/csync_util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/csync/src/csync_util.c b/csync/src/csync_util.c index b82005a16..ffcdafbe5 100644 --- a/csync/src/csync_util.c +++ b/csync/src/csync_util.c @@ -182,6 +182,7 @@ csync_vio_file_stat_t *csync_vio_convert_file_stat(csync_file_stat_t *st) { } bool (*csync_file_locked_or_open_ext) (const char*) = 0; // filled in by library user +void set_csync_file_locked_or_open_ext(bool (*f) (const char*)); void set_csync_file_locked_or_open_ext(bool (*f) (const char*)) { csync_file_locked_or_open_ext = f; }