projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eliminate dependence of perror on printf
[musl]
/
src
/
stdio
/
ftrylockfile.c
diff --git
a/src/stdio/ftrylockfile.c
b/src/stdio/ftrylockfile.c
index
67f4b6a
..
0b0e44a
100644
(file)
--- a/
src/stdio/ftrylockfile.c
+++ b/
src/stdio/ftrylockfile.c
@@
-4,7
+4,6
@@
int ftrylockfile(FILE *f)
{
int tid = pthread_self()->tid;
- if (!libc.lockfile) libc.lockfile = __lockfile;
if (f->lock == tid) {
if (f->lockcount == INT_MAX)
return -1;