forked from Imagelibrary/rtems
get_errno: no longer needed by gnat runtime
This commit is contained in:
@@ -290,6 +290,7 @@ libc_init(int reentrant)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
* Routines required by the gnat runtime.
|
* Routines required by the gnat runtime.
|
||||||
*/
|
*/
|
||||||
@@ -298,6 +299,7 @@ int get_errno()
|
|||||||
{
|
{
|
||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function: _exit
|
* Function: _exit
|
||||||
@@ -373,6 +375,7 @@ int __kill( pid_t pid, int sig )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(RTEMS_POSIX_API)
|
||||||
unsigned int sleep(
|
unsigned int sleep(
|
||||||
unsigned int seconds
|
unsigned int seconds
|
||||||
)
|
)
|
||||||
@@ -397,6 +400,7 @@ unsigned int sleep(
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -290,6 +290,7 @@ libc_init(int reentrant)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
* Routines required by the gnat runtime.
|
* Routines required by the gnat runtime.
|
||||||
*/
|
*/
|
||||||
@@ -298,6 +299,7 @@ int get_errno()
|
|||||||
{
|
{
|
||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function: _exit
|
* Function: _exit
|
||||||
@@ -373,6 +375,7 @@ int __kill( pid_t pid, int sig )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(RTEMS_POSIX_API)
|
||||||
unsigned int sleep(
|
unsigned int sleep(
|
||||||
unsigned int seconds
|
unsigned int seconds
|
||||||
)
|
)
|
||||||
@@ -397,6 +400,7 @@ unsigned int sleep(
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -290,6 +290,7 @@ libc_init(int reentrant)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
* Routines required by the gnat runtime.
|
* Routines required by the gnat runtime.
|
||||||
*/
|
*/
|
||||||
@@ -298,6 +299,7 @@ int get_errno()
|
|||||||
{
|
{
|
||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function: _exit
|
* Function: _exit
|
||||||
@@ -373,6 +375,7 @@ int __kill( pid_t pid, int sig )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(RTEMS_POSIX_API)
|
||||||
unsigned int sleep(
|
unsigned int sleep(
|
||||||
unsigned int seconds
|
unsigned int seconds
|
||||||
)
|
)
|
||||||
@@ -397,6 +400,7 @@ unsigned int sleep(
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user