From 28860ec03c339eb936205cd7750b0e1584981521 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 8 Feb 2012 15:57:04 +0100 Subject: Fixed warnings and minor bugs o Due to the usual integer propagation rules care must be taken in case off_t is involved. o Use the effective UID and GID consistently. --- testsuites/fstests/support/fstest.h | 1 + testsuites/fstests/support/fstest_support.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'testsuites/fstests/support') diff --git a/testsuites/fstests/support/fstest.h b/testsuites/fstests/support/fstest.h index 6342f75a21..d3fabac815 100644 --- a/testsuites/fstests/support/fstest.h +++ b/testsuites/fstests/support/fstest.h @@ -50,6 +50,7 @@ FS_FAIL();\ } while (0) +void test(void); #define BASE_FOR_TEST "/mnt" #endif diff --git a/testsuites/fstests/support/fstest_support.c b/testsuites/fstests/support/fstest_support.c index 5d8dd4c36a..239bdb91f3 100644 --- a/testsuites/fstests/support/fstest_support.c +++ b/testsuites/fstests/support/fstest_support.c @@ -34,7 +34,7 @@ /* Break out of a chroot() environment in C */ -void break_out_of_chroot(void) +static void break_out_of_chroot(void) { int dir_fd; /* File descriptor to directory */ -- cgit v1.2.3