about summary refs log tree commit diff
path: root/src/stdio
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-06 16:06:17 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:28 -0400
commit3b028c28314a43e6fb65f3281149aecae8250f11 (patch)
treebca2738750d3429229af92c3b9072cd38ca1d1e9 /src/stdio
parent736a950b3d4f476018d2909302be6d150530df50 (diff)
downloadmusl-3b028c28314a43e6fb65f3281149aecae8250f11.tar.gz
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/stdio')
-rw-r--r--src/stdio/flockfile.c2
-rw-r--r--src/stdio/funlockfile.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/stdio/flockfile.c b/src/stdio/flockfile.c
index 6806cf8b..8e220651 100644
--- a/src/stdio/flockfile.c
+++ b/src/stdio/flockfile.c
@@ -1,8 +1,6 @@
 #include "stdio_impl.h"
 #include "pthread_impl.h"
 
-void __register_locked_file(FILE *, pthread_t);
-
 void flockfile(FILE *f)
 {
 	if (!ftrylockfile(f)) return;
diff --git a/src/stdio/funlockfile.c b/src/stdio/funlockfile.c
index 30a07ef4..44d8b0df 100644
--- a/src/stdio/funlockfile.c
+++ b/src/stdio/funlockfile.c
@@ -1,8 +1,6 @@
 #include "stdio_impl.h"
 #include "pthread_impl.h"
 
-void __unlist_locked_file(FILE *);
-
 void funlockfile(FILE *f)
 {
 	if (f->lockcount == 1) {