X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Fftrylockfile.c;h=0b0e44aaf4fb6d7da1922b44e80b0926870376d1;hb=e8dbf00a789e3b56ca6c3d88e8048b7b2c18b797;hp=67f4b6a070ca2c1c833c8d92401e6f8ac75c251f;hpb=a37452430f93700aeb122d693959ad79d8e43ada;p=musl diff --git a/src/stdio/ftrylockfile.c b/src/stdio/ftrylockfile.c index 67f4b6a0..0b0e44aa 100644 --- 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;