mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Silent warning:
warning: no previous prototype for ‘set_csync_file_locked_or_open_ext’ [-Wmissing-prototypes]
This commit is contained in:
parent
f034bcb9ae
commit
d7a226e0e6
1 changed files with 1 additions and 0 deletions
|
@ -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
|
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*)) {
|
void set_csync_file_locked_or_open_ext(bool (*f) (const char*)) {
|
||||||
csync_file_locked_or_open_ext = f;
|
csync_file_locked_or_open_ext = f;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue