diff options
author | deischen <deischen@FreeBSD.org> | 2001-03-01 05:22:14 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2001-03-01 05:22:14 +0000 |
commit | 2d1163e370d4fb97297838d1fe7872a653dce6bb (patch) | |
tree | 56a1f702941fc746f602720d30a3421e37510f80 /include/stdio.h | |
parent | 242ddf3c95fd6a4a22fdc278c485bbbcffe01ae8 (diff) | |
download | FreeBSD-src-2d1163e370d4fb97297838d1fe7872a653dce6bb.zip FreeBSD-src-2d1163e370d4fb97297838d1fe7872a653dce6bb.tar.gz |
Hide the definition of struct __sFILEX and add the needed
lock definitions to it. flockfile state is now allocated
along with the rest of FILE. This eliminates the need for a
separate allocation of flockfile state as well as eliminating
the mutex/lock used to serialize its allocation.
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/stdio.h b/include/stdio.h index a8aaf6d..e8c346b 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -68,13 +68,8 @@ struct __sbuf { int _size; }; -struct __file_lock; - /* hold a buncha junk that would grow the ABI */ -struct __sFILEX { - struct __file_lock *_mtlock; /* used for MT-safety */ - unsigned char *_up; /* saved _p when _p is doing ungetc data */ -}; +struct __sFILEX; /* * stdio state variables. |