diff options
author | Ryan Long <ryan.long@oarcorp.com> | 2021-04-30 16:01:44 -0400 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-06-09 11:52:24 -0500 |
commit | f83676d91f3c639c93097733f2b2ffa54ec10599 (patch) | |
tree | 18e8ae3f410b5857a70b40606a72f5457adfd8e1 /testsuites/psxtests | |
parent | main_edit.c: get rid of malloc warning (diff) | |
download | rtems-f83676d91f3c639c93097733f2b2ffa54ec10599.tar.bz2 |
sysconf: Remove sysconf(515)
GCC originally needed this 20 years ago. No longer needed, so it
is being removed.
Closes #4391
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxsysconf/init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/testsuites/psxtests/psxsysconf/init.c b/testsuites/psxtests/psxsysconf/init.c index a008af36bb..66d6dd3761 100644 --- a/testsuites/psxtests/psxsysconf/init.c +++ b/testsuites/psxtests/psxsysconf/init.c @@ -83,14 +83,6 @@ void *POSIX_Init( == (long) rtems_scheduler_get_processor_maximum() ); -#if defined(__sparc__) - /* Solaris _SC_STACK_PROT - 515 */ - sc = sysconf( _SC_PAGESIZE ); - printf( "sysconf - (SPARC only) _SC_STACK_PROT=%ld\n", sc ); - if ( sc == -1 ) - rtems_test_exit(0); -#endif - TEST_END(); rtems_test_exit( 0 ); |