Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2018-11-30T06:56:05Z (3 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Branches:
lfn, master
Children:
966f753
Parents:
94619b9
Message:

correcting formatting according to ccheck.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/unalias/unalias.c

    r94619b9 ra02aa5c  
    3939#include "cmds.h"
    4040
    41 
    42 
    4341static const char *cmdname = "unalias";
    44 
    45 
    4642
    4743static void free_alias(odlink_t *alias_link)
     
    5551}
    5652
    57 
    5853/* Dispays help for unalias in various levels */
    5954void help_cmd_unalias(unsigned int level)
     
    6358}
    6459
    65 
    6660/* Main entry point for unalias, accepts an array of arguments */
    6761int cmd_unalias(char **argv)
    6862{
    6963
    70         if(argv[1] == NULL) {
     64        if (argv[1] == NULL) {
    7165                help_cmd_unalias(HELP_LONG);
    7266                return CMD_SUCCESS;
     
    8882                }
    8983
    90 
    91                 alias_link = odict_find_eq(&alias_dict, (void*)argv[i], NULL);
     84                alias_link = odict_find_eq(&alias_dict, (void *)argv[i], NULL);
    9285
    9386                if (alias_link == NULL) {
     
    9891                free_alias(alias_link);
    9992        }
    100 
    101        
    10293       
    10394        return CMD_SUCCESS;
    10495}
    105 
Note: See TracChangeset for help on using the changeset viewer.