about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-11-27 14:36:57 +0000
committerAndreas Jaeger <aj@suse.de>2000-11-27 14:36:57 +0000
commitf71bc3ba28d9220c20a0d483a6e69de736a74f87 (patch)
treece1376a3ef9cd252f7a99b9fe104aa778dd73218
parentd2defdc4a2ba94cc0d0a2f8b8c851ddc07a32c22 (diff)
downloadglibc-f71bc3ba28d9220c20a0d483a6e69de736a74f87.tar.gz
glibc-f71bc3ba28d9220c20a0d483a6e69de736a74f87.tar.xz
glibc-f71bc3ba28d9220c20a0d483a6e69de736a74f87.zip
Mark test functions as static to avoid warnings.
-rw-r--r--rt/tst-aio.c4
-rw-r--r--rt/tst-aio64.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/rt/tst-aio.c b/rt/tst-aio.c
index 8a6f103871..d425ff14ef 100644
--- a/rt/tst-aio.c
+++ b/rt/tst-aio.c
@@ -62,7 +62,7 @@ do_prepare (int argc, char *argv[])
 }
 
 
-int
+static int
 test_file (const void *buf, size_t size, int fd, const char *msg)
 {
   struct stat st;
@@ -100,7 +100,7 @@ test_file (const void *buf, size_t size, int fd, const char *msg)
 }
 
 
-int
+static int
 do_wait (struct aiocb **cbp, size_t nent, int allowed_err)
 {
   int go_on;
diff --git a/rt/tst-aio64.c b/rt/tst-aio64.c
index 831d0b35d0..0efd0d30a7 100644
--- a/rt/tst-aio64.c
+++ b/rt/tst-aio64.c
@@ -63,7 +63,7 @@ do_prepare (int argc, char *argv[])
 }
 
 
-int
+static int
 test_file (const void *buf, size_t size, int fd, const char *msg)
 {
   struct stat st;
@@ -101,7 +101,7 @@ test_file (const void *buf, size_t size, int fd, const char *msg)
 }
 
 
-int
+static int
 do_wait (struct aiocb64 **cbp, size_t nent, int allowed_err)
 {
   int go_on;