Changeset 478 for trunk/libs/libalmosmkh


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

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

Location:
trunk/libs/libalmosmkh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/libalmosmkh/almosmkh.c

    r473 r478  
    8787
    8888////////////
    89 int getint()
     89int getint( void )
    9090{
    9191    unsigned int  i;
     
    210210
    211211///////////////////
    212 int display_chdev()
     212int display_chdev( void )
    213213{
    214214    return hal_user_syscall( SYS_DISPLAY,
     
    217217
    218218/////////////////
    219 int display_vfs()
     219int display_vfs( void )
    220220{
    221221    return hal_user_syscall( SYS_DISPLAY,
     
    243243
    244244//////////////////
    245 int display_dqdt()
     245int display_dqdt( void )
    246246{
    247247    return hal_user_syscall( SYS_DISPLAY,
     
    250250
    251251///////////
    252 void idbg()
     252void idbg( void )
    253253{
    254254   char          cmd;
  • trunk/libs/libalmosmkh/almosmkh.h

    r457 r478  
    105105 * returns the integer value if success / returns -1 if failure.
    106106 **************************************************************************************/
    107 int getint();
     107int getint( void );
    108108
    109109
     
    169169 * @ return always 0.
    170170 **************************************************************************************/
    171 int display_chdev();
     171int display_chdev( void );
    172172
    173173/***************************************************************************************
     
    178178 * @ return always 0.
    179179 **************************************************************************************/
    180 int display_vfs();
     180int display_vfs( void );
    181181
    182182/***************************************************************************************
     
    186186 * @ return always 0.
    187187 **************************************************************************************/
    188 int display_dqdt();
     188int display_dqdt( void );
    189189
    190190/*****************************************************************************************
     
    214214 * - h           : list the supported commands
    215215 ***************************************************************************************/
    216 void idbg();
     216void idbg( void );
    217217
    218218
Note: See TracChangeset for help on using the changeset viewer.