mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-30 01:08:25 +08:00
Add prototypes.
This commit is contained in:
+2
-2
@@ -485,7 +485,7 @@ task_pool_init(int count, rtems_task_priority priority)
|
||||
*
|
||||
*/
|
||||
static FTPD_SessionInfo_t*
|
||||
task_pool_obtain()
|
||||
task_pool_obtain(void)
|
||||
{
|
||||
FTPD_SessionInfo_t* info = 0;
|
||||
rtems_status_code sc;
|
||||
@@ -1906,7 +1906,7 @@ session(rtems_task_argument arg)
|
||||
* NONE
|
||||
*/
|
||||
static void
|
||||
daemon()
|
||||
daemon(void)
|
||||
{
|
||||
int s;
|
||||
socklen_t addrLen;
|
||||
|
||||
+1
-1
@@ -51,6 +51,6 @@ struct rtems_ftpd_configuration
|
||||
#define TRANSIENT 4 /* transient negative completion */
|
||||
#define ERROR 5 /* permanent negative completion */
|
||||
|
||||
int rtems_initialize_ftpd();
|
||||
int rtems_initialize_ftpd(void);
|
||||
|
||||
#endif /* _RTEMS_FTPD_H */
|
||||
|
||||
@@ -41,7 +41,7 @@ RTEMS_INLINE_ROUTINE void _TOD_Deactivate( void )
|
||||
* This routine activates updating of the current time of day.
|
||||
*/
|
||||
|
||||
RTEMS_INLINE_ROUTINE void _TOD_Activate()
|
||||
RTEMS_INLINE_ROUTINE void _TOD_Activate( void )
|
||||
{
|
||||
/* XXX do we need something now that we are using timespec for TOD */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user