mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 17:54:52 +00:00
The ORIENTLOCK macro is no longer needed since all functions use
FLOCKFILE/FUNLOCKFILE explicitly.
This commit is contained in:
parent
81784fad7a
commit
79db40061f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105909
|
@ -146,10 +146,3 @@ struct __sFILEX {
|
|||
if ((fp)->_extra->orientation == 0) \
|
||||
(fp)->_extra->orientation = (o); \
|
||||
} while (0)
|
||||
#ifdef FLOCKFILE
|
||||
#define ORIENTLOCK(fp, o) do { \
|
||||
FLOCKFILE(fp); \
|
||||
ORIENT(fp, o); \
|
||||
FUNLOCKFILE(fp); \
|
||||
} while (0)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue