[rtems commit] Delete unused declarations and define

Sebastian Huber sebh at rtems.org
Fri Nov 27 07:06:28 UTC 2015


Module:    rtems
Branch:    master
Commit:    50552818d782f66bce065924554d113d618bbf80
Changeset: http://git.rtems.org/rtems/commit/?id=50552818d782f66bce065924554d113d618bbf80

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Nov 26 07:29:33 2015 +0100

Delete unused declarations and define

---

 cpukit/libcsupport/include/rtems/libcsupport.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/cpukit/libcsupport/include/rtems/libcsupport.h b/cpukit/libcsupport/include/rtems/libcsupport.h
index 16754c5..1e16551 100644
--- a/cpukit/libcsupport/include/rtems/libcsupport.h
+++ b/cpukit/libcsupport/include/rtems/libcsupport.h
@@ -57,8 +57,6 @@ void malloc_set_heap_pointer(Heap_Control *new_heap);
  * This routine is primarily used for debugging. 
  */
 Heap_Control *malloc_get_heap_pointer( void );
-extern int  host_errno(void);
-extern void fix_syscall_errno(void);
 
 /**
  * @brief Get free malloc information.
@@ -82,8 +80,6 @@ bool newlib_create_hook(
   rtems_tcb *creating_task
 );
 
-#define __RTEMS_NEWLIB_BEGIN 0
-
 void newlib_terminate_hook(
   rtems_tcb *current_task
 );
@@ -95,7 +91,7 @@ void newlib_terminate_hook(
   0,                      /* rtems_task_restart */ \
   0,                      /* rtems_task_delete  */ \
   0,                      /* task_switch  */ \
-  __RTEMS_NEWLIB_BEGIN,   /* task_begin   */ \
+  0,                      /* task_begin   */ \
   0,                      /* task_exitted */ \
   0,                      /* fatal        */ \
   newlib_terminate_hook   /* thread terminate */ \



More information about the vc mailing list