Commit fde9226a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

win32: do not pretend to implement ftrylockfile()

This is not currently used anywhere in the code base anyway.
parent 0d3f7a9e
...@@ -40,12 +40,6 @@ void flockfile (FILE *stream) ...@@ -40,12 +40,6 @@ void flockfile (FILE *stream)
_lock_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) void funlockfile (FILE *stream)
{ {
_unlock_file (stream); _unlock_file (stream);
......
...@@ -122,7 +122,6 @@ int asprintf (char **, const char *, ...); ...@@ -122,7 +122,6 @@ int asprintf (char **, const char *, ...);
#ifndef HAVE_FLOCKFILE #ifndef HAVE_FLOCKFILE
void flockfile (FILE *); void flockfile (FILE *);
int ftrylockfile (FILE *);
void funlockfile (FILE *); void funlockfile (FILE *);
int getc_unlocked (FILE *); int getc_unlocked (FILE *);
int getchar_unlocked (void); int getchar_unlocked (void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment