summaryrefslogtreecommitdiff
path: root/src/stdio/funlockfile.c
blob: f8a2a071e64596b00e52940d47d94ca7ec2bee80 (plain)
1
2
3
4
5
6
7
#include "stdio_impl.h"
#include "pthread_impl.h"

void funlockfile(FILE *f)
{
	if (!--f->lockcount) __unlockfile(f);
}