diff options
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libcsupport/include/rtems/libcsupport.h | 4 | ||||
-rw-r--r-- | cpukit/libcsupport/src/newlibc_reent.c | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index d198cef011..9bafd4f576 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2009-09-26 Joel Sherrill <joel.sherrill@oarcorp.com> + + * libcsupport/include/rtems/libcsupport.h, + libcsupport/src/newlibc_reent.c: Eliminate use of deprecated + rtems_extension. + 2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com> * score/Makefile.am: Re-add file accidentally deleted by Sebastian. diff --git a/cpukit/libcsupport/include/rtems/libcsupport.h b/cpukit/libcsupport/include/rtems/libcsupport.h index 434e56d974..5c9081c353 100644 --- a/cpukit/libcsupport/include/rtems/libcsupport.h +++ b/cpukit/libcsupport/include/rtems/libcsupport.h @@ -51,13 +51,13 @@ bool newlib_create_hook( ); #if defined(RTEMS_UNIX) && !defined(hpux) - rtems_extension newlib_begin_hook(rtems_tcb *current_task); + void newlib_begin_hook(rtems_tcb *current_task); #define __RTEMS_NEWLIB_BEGIN newlib_begin_hook #else #define __RTEMS_NEWLIB_BEGIN 0 #endif -rtems_extension newlib_delete_hook( +void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ); diff --git a/cpukit/libcsupport/src/newlibc_reent.c b/cpukit/libcsupport/src/newlibc_reent.c index f4cdc0d1d1..97b3556c2b 100644 --- a/cpukit/libcsupport/src/newlibc_reent.c +++ b/cpukit/libcsupport/src/newlibc_reent.c @@ -94,7 +94,7 @@ bool newlib_create_hook( */ #ifdef NEED_SETVBUF -rtems_extension newlib_begin_hook(rtems_tcb *current_task) +void newlib_begin_hook(rtems_tcb *current_task) { setvbuf( stdout, NULL, _IOLBF, BUFSIZ ); } @@ -127,7 +127,7 @@ int newlib_free_buffers( return 0; } -rtems_extension newlib_delete_hook( +void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ) |