mirror of git://sourceware.org/git/glibc.git
Mark test functions as static to avoid warnings.
This commit is contained in:
parent
d2defdc4a2
commit
f71bc3ba28
|
@ -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)
|
test_file (const void *buf, size_t size, int fd, const char *msg)
|
||||||
{
|
{
|
||||||
struct stat st;
|
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)
|
do_wait (struct aiocb **cbp, size_t nent, int allowed_err)
|
||||||
{
|
{
|
||||||
int go_on;
|
int go_on;
|
||||||
|
|
|
@ -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)
|
test_file (const void *buf, size_t size, int fd, const char *msg)
|
||||||
{
|
{
|
||||||
struct stat st;
|
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)
|
do_wait (struct aiocb64 **cbp, size_t nent, int allowed_err)
|
||||||
{
|
{
|
||||||
int go_on;
|
int go_on;
|
||||||
|
|
Loading…
Reference in New Issue