Changeset 484 for trunk/kernel/fs


Ignore:
Timestamp:
Aug 21, 2018, 9:52:37 PM (6 years ago)
Author:
viala@…
Message:

[fs] Add void type to function prototypes with no parameter

Location:
trunk/kernel/fs
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/fs/devfs.c

    r457 r484  
    5353
    5454///////////////////////////////
    55 devfs_ctx_t * devfs_ctx_alloc()
     55devfs_ctx_t * devfs_ctx_alloc( void )
    5656{
    5757    kmem_req_t    req;
  • trunk/kernel/fs/devfs.h

    r407 r484  
    6464 * @ return a pointer on the created context / return NULL if failure.
    6565 ****************************************************************************************/
    66 devfs_ctx_t * devfs_ctx_alloc();
     66devfs_ctx_t * devfs_ctx_alloc( void );
    6767
    6868/*****************************************************************************************
  • trunk/kernel/fs/fatfs.c

    r473 r484  
    224224
    225225//////////////////////////////////////////////////////////////////////////////////////////
    226 void fatfs_ctx_display()
     226void fatfs_ctx_display( void )
    227227{
    228228    vfs_ctx_t   * vfs_ctx   = &fs_context[FS_TYPE_FATFS];
     
    328328
    329329///////////////////////////////
    330 fatfs_ctx_t * fatfs_ctx_alloc()
     330fatfs_ctx_t * fatfs_ctx_alloc( void )
    331331{
    332332    kmem_req_t    req;
  • trunk/kernel/fs/fatfs.h

    r457 r484  
    215215 * This function display the content of the FATFS context.
    216216 *****************************************************************************************/
    217 void fatfs_ctx_display();
     217void fatfs_ctx_display( void );
    218218
    219219
     
    228228 * @ return a pointer on the created context / return NULL if failure.
    229229 *****************************************************************************************/
    230 fatfs_ctx_t * fatfs_ctx_alloc();
     230fatfs_ctx_t * fatfs_ctx_alloc( void );
    231231
    232232/*****************************************************************************************
  • trunk/kernel/fs/vfs.c

    r473 r484  
    11171117
    11181118/////////////////////////////////
    1119 cxy_t vfs_cluster_random_select()
     1119cxy_t vfs_cluster_random_select( void )
    11201120{
    11211121    uint32_t  x_size    = LOCAL_CLUSTER->x_size;
  • trunk/kernel/fs/vfs.h

    r459 r484  
    521521 * @ returns the selected cluster identifier.
    522522 *****************************************************************************************/
    523 cxy_t vfs_cluster_random_select();
     523cxy_t vfs_cluster_random_select( void );
    524524
    525525/******************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.