diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-09 13:18:36 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-10 08:56:06 +0100 |
commit | 1f671565ab228e54d038fd1ca2f6e4aeeb4170b2 (patch) | |
tree | 5b657f6706273a1c5d4580d24d0e1905b4af5b7b /testsuites/psxtests | |
parent | posix: Change sem_t to the 32-bit object type (diff) | |
download | rtems-1f671565ab228e54d038fd1ca2f6e4aeeb4170b2.tar.bz2 |
libcsupport: Delete superfluous _gettimeofday()
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r-- | testsuites/psxtests/psxtime/test.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/testsuites/psxtests/psxtime/test.c b/testsuites/psxtests/psxtime/test.c index 7620d56d27..8331bef6b0 100644 --- a/testsuites/psxtests/psxtime/test.c +++ b/testsuites/psxtests/psxtime/test.c @@ -37,8 +37,6 @@ const char rtems_test_name[] = "PSXTIME"; extern int adjtime(const struct timeval *delta, struct timeval *olddelta); #endif -extern int _gettimeofday(struct timeval *__p, void *__tz); - void test_adjtime(void); void check_a_tod( rtems_time_of_day *the_tod @@ -221,11 +219,6 @@ int main( rtems_test_assert( sc == -1 ); rtems_test_assert( errno == EFAULT ); - puts( "_gettimeofday( NULL, NULL ) - EFAULT" ); - sc = _gettimeofday( NULL, NULL ); - rtems_test_assert( sc == -1 ); - rtems_test_assert( errno == EFAULT ); - test_adjtime(); /* |