diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-06 16:06:17 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:28 -0400 |
commit | 3b028c28314a43e6fb65f3281149aecae8250f11 (patch) | |
tree | bca2738750d3429229af92c3b9072cd38ca1d1e9 /src/internal/stdio_impl.h | |
parent | 736a950b3d4f476018d2909302be6d150530df50 (diff) | |
download | musl-3b028c28314a43e6fb65f3281149aecae8250f11.tar.gz musl-3b028c28314a43e6fb65f3281149aecae8250f11.tar.bz2 musl-3b028c28314a43e6fb65f3281149aecae8250f11.tar.xz musl-3b028c28314a43e6fb65f3281149aecae8250f11.zip |
make internal declarations for flockfile tracking functions checkable
logically these belong to the intersection of the stdio and pthread
subsystems, and either place the declarations could go (stdio_impl.h
or pthread_impl.h) requires a forward declaration for one of the
argument types.
Diffstat (limited to 'src/internal/stdio_impl.h')
-rw-r--r-- | src/internal/stdio_impl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/stdio_impl.h b/src/internal/stdio_impl.h index 1127a492..4cb79861 100644 --- a/src/internal/stdio_impl.h +++ b/src/internal/stdio_impl.h @@ -80,6 +80,11 @@ FILE *__ofl_add(FILE *f); FILE **__ofl_lock(void); void __ofl_unlock(void); +struct __pthread; +void __register_locked_file(FILE *, struct __pthread *); +void __unlist_locked_file(FILE *); +void __do_orphaned_stdio_locks(void); + #define feof(f) ((f)->flags & F_EOF) #define ferror(f) ((f)->flags & F_ERR) |