diff --git a/modules/libcom/RTEMS/rtems_init.c b/modules/libcom/RTEMS/rtems_init.c index 8b4ab38b0..808aeac9d 100644 --- a/modules/libcom/RTEMS/rtems_init.c +++ b/modules/libcom/RTEMS/rtems_init.c @@ -52,8 +52,6 @@ /* * Prototypes for some functions not in header files */ -void tzset(void); -int fileno(FILE *); int main(int argc, char **argv); static void @@ -103,26 +101,6 @@ LogFatal (const char *msg, ...) delayedPanic (msg); } -/* - * Log RTEMS error and terminate - */ -void -LogRtemsFatal (const char *msg, rtems_status_code sc) -{ - errlogPrintf ("%s: %s\n", msg, rtems_status_text (sc)); - delayedPanic (msg); -} - -/* - * Log network error and terminate - */ -void -LogNetFatal (const char *msg, int err) -{ - errlogPrintf ("%s: %d\n", msg, err); - delayedPanic (msg); -} - void * mustMalloc(int size, const char *msg) { @@ -370,7 +348,7 @@ initialize_remote_filesystem(char **argv, int hasLocalFilesystem) } static -char rtems_etc_hosts[] = "127.0.0.1 localhost\n"; +const char rtems_etc_hosts[] = "127.0.0.1 localhost\n"; /* If it doesn't already exist, create /etc/hosts with an entry for 'localhost' */ static