aboutsummaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
Diffstat (limited to 'rt')
-rw-r--r--rt/tst-aio2.c4
-rw-r--r--rt/tst-aio3.c6
-rw-r--r--rt/tst-aio4.c6
-rw-r--r--rt/tst-aio5.c6
-rw-r--r--rt/tst-clock.c4
-rw-r--r--rt/tst-shm.c2
6 files changed, 14 insertions, 14 deletions
diff --git a/rt/tst-aio2.c b/rt/tst-aio2.c
index 79c8390..c628691 100644
--- a/rt/tst-aio2.c
+++ b/rt/tst-aio2.c
@@ -27,14 +27,14 @@
int flag;
-void
+static void
thrfct (sigval_t arg)
{
flag = 1;
}
-int
+static int
do_test (int argc, char *argv[])
{
char name[] = "/tmp/aio2.XXXXXX";
diff --git a/rt/tst-aio3.c b/rt/tst-aio3.c
index b5bd370..ea25777 100644
--- a/rt/tst-aio3.c
+++ b/rt/tst-aio3.c
@@ -26,14 +26,14 @@
int flag;
-void
+static void
thrfct (sigval_t arg)
{
flag = 1;
}
-int
+static int
do_test (int argc, char *argv[])
{
char name[] = "/tmp/aio3.XXXXXX";
@@ -74,7 +74,7 @@ do_test (int argc, char *argv[])
printf ("aio_suspend failed: %m\n");
return 1;
}
-
+
if (flag != 0)
{
puts ("thread created, should not have happened");
diff --git a/rt/tst-aio4.c b/rt/tst-aio4.c
index a0bc7fd..49023f1 100644
--- a/rt/tst-aio4.c
+++ b/rt/tst-aio4.c
@@ -31,13 +31,13 @@
volatile sig_atomic_t flag;
-void
+static void
sighandler (const int signo)
{
flag = signo;
}
-int
+static int
wait_flag (void)
{
while (flag == 0)
@@ -56,7 +56,7 @@ wait_flag (void)
}
-int
+static int
do_test (int argc, char *argv[])
{
char name[] = "/tmp/aio4.XXXXXX";
diff --git a/rt/tst-aio5.c b/rt/tst-aio5.c
index 908f7c1..307550e 100644
--- a/rt/tst-aio5.c
+++ b/rt/tst-aio5.c
@@ -31,13 +31,13 @@
volatile sig_atomic_t flag;
-void
+static void
callback (sigval_t s)
{
flag = s.sival_int;
}
-int
+static int
wait_flag (void)
{
while (flag == 0)
@@ -56,7 +56,7 @@ wait_flag (void)
}
-int
+static int
do_test (int argc, char *argv[])
{
char name[] = "/tmp/aio5.XXXXXX";
diff --git a/rt/tst-clock.c b/rt/tst-clock.c
index d9a41e0..095fca8 100644
--- a/rt/tst-clock.c
+++ b/rt/tst-clock.c
@@ -28,7 +28,7 @@
/* We expect to run at least 10 seconds. */
#define TIMEOUT 15
-int
+static int
clock_test (clockid_t cl)
{
struct timespec old_ts;
@@ -101,7 +101,7 @@ clock_test (clockid_t cl)
return result;
}
-int
+static int
do_test (void)
{
clockid_t cl;
diff --git a/rt/tst-shm.c b/rt/tst-shm.c
index a1ec6df..9e970ee 100644
--- a/rt/tst-shm.c
+++ b/rt/tst-shm.c
@@ -122,7 +122,7 @@ worker (int write_now)
}
-int
+static int
do_test (void)
{
int fd;