X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Fwrite.h;h=273a6a710b9cf3a00dd059d9f99e34bd25fd5da0;hp=c15e6ced5ebd75c2de401e24a467bb1bd6578c85;hb=a5388cc58647a6506e62acddc648ed6ca7b76fa5;hpb=1238789866c94796eb4a3ee4f203481aabec8940 diff --git a/include/wimlib/write.h b/include/wimlib/write.h index c15e6ced..273a6a71 100644 --- a/include/wimlib/write.h +++ b/include/wimlib/write.h @@ -32,19 +32,18 @@ #if defined(HAVE_SYS_FILE_H) && defined(HAVE_FLOCK) extern int -lock_wim_for_append(WIMStruct *wim, int fd); +lock_wim_for_append(WIMStruct *wim); extern void -unlock_wim_for_append(WIMStruct *wim, int fd); +unlock_wim_for_append(WIMStruct *wim); #else static inline int -lock_wim_for_append(WIMStruct *wim, int fd) +lock_wim_for_append(WIMStruct *wim) { return 0; } static inline void -unlock_wim_for_append(WIMStruct *wim, int fd) +unlock_wim_for_append(WIMStruct *wim) { - return 0; } #endif