Browse Source

win32: do not pretend to implement ftrylockfile()

This is not currently used anywhere in the code base anyway.
pull/51/head
Rémi Denis-Courmont 10 years ago
parent
commit
fde9226ab2
  1. 6
      compat/flockfile.c
  2. 1
      include/vlc_fixups.h

6
compat/flockfile.c

@ -40,12 +40,6 @@ void flockfile (FILE *stream)
_lock_file (stream);
}
int ftrylockfile (FILE *stream)
{
flockfile (stream); /* Move along people, there is nothing to see here. */
return 0;
}
void funlockfile (FILE *stream)
{
_unlock_file (stream);

1
include/vlc_fixups.h

@ -122,7 +122,6 @@ int asprintf (char **, const char *, ...);
#ifndef HAVE_FLOCKFILE
void flockfile (FILE *);
int ftrylockfile (FILE *);
void funlockfile (FILE *);
int getc_unlocked (FILE *);
int getchar_unlocked (void);

Loading…
Cancel
Save