summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/local.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-10-25 07:01:56 +0000
committertjr <tjr@FreeBSD.org>2002-10-25 07:01:56 +0000
commit61dd08c523db5d331200b2c7e21b0dbc884dd5d8 (patch)
treecdb92c8b7afda1a4f69192df0e688a114cece6ba /lib/libc/stdio/local.h
parentab03b9e0eb31cd98cc516dd0b2d915a340cb4721 (diff)
downloadFreeBSD-src-61dd08c523db5d331200b2c7e21b0dbc884dd5d8.zip
FreeBSD-src-61dd08c523db5d331200b2c7e21b0dbc884dd5d8.tar.gz
The ORIENTLOCK macro is no longer needed since all functions use
FLOCKFILE/FUNLOCKFILE explicitly.
Diffstat (limited to 'lib/libc/stdio/local.h')
-rw-r--r--lib/libc/stdio/local.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libc/stdio/local.h b/lib/libc/stdio/local.h
index 3ef5a5b..9e1cad4 100644
--- a/lib/libc/stdio/local.h
+++ b/lib/libc/stdio/local.h
@@ -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
OpenPOWER on IntegriCloud