Changeset a35b458 in mainline for abi/include/abi/syscall.h


Ignore:
Timestamp:
2018-03-02T20:10:49Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1380b7
Parents:
3061bc1
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
Message:

style: Remove trailing whitespace on _all_ lines, including empty ones, for particular file types.

Command used: tools/srepl '\s\+$' '' -- *.c *.h *.py *.sh *.s *.S *.ag

Currently, whitespace on empty lines is very inconsistent.
There are two basic choices: Either remove the whitespace, or keep empty lines
indented to the level of surrounding code. The former is AFAICT more common,
and also much easier to do automatically.

Alternatively, we could write script for automatic indentation, and use that
instead. However, if such a script exists, it's possible to use the indented
style locally, by having the editor apply relevant conversions on load/save,
without affecting remote repository. IMO, it makes more sense to adopt
the simpler rule.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abi/include/abi/syscall.h

    r3061bc1 ra35b458  
    3838typedef enum {
    3939        SYS_KIO = 0,
    40        
     40
    4141        SYS_THREAD_CREATE,
    4242        SYS_THREAD_EXIT,
     
    4444        SYS_THREAD_USLEEP,
    4545        SYS_THREAD_UDELAY,
    46        
     46
    4747        SYS_TASK_GET_ID,
    4848        SYS_TASK_SET_NAME,
     
    5050        SYS_TASK_EXIT,
    5151        SYS_PROGRAM_SPAWN_LOADER,
    52        
     52
    5353        SYS_FUTEX_SLEEP,
    5454        SYS_FUTEX_WAKEUP,
    5555        SYS_SMC_COHERENCE,
    5656        SYS_SMP_MEMORY_BARRIER,
    57        
     57
    5858        SYS_AS_AREA_CREATE,
    5959        SYS_AS_AREA_RESIZE,
    6060        SYS_AS_AREA_CHANGE_FLAGS,
    6161        SYS_AS_AREA_DESTROY,
    62        
     62
    6363        SYS_PAGE_FIND_MAPPING,
    64        
     64
    6565        SYS_IPC_CALL_ASYNC_FAST,
    6666        SYS_IPC_CALL_ASYNC_SLOW,
     
    7373        SYS_IPC_HANGUP,
    7474        SYS_IPC_CONNECT_KBOX,
    75        
     75
    7676        SYS_IPC_EVENT_SUBSCRIBE,
    7777        SYS_IPC_EVENT_UNSUBSCRIBE,
    7878        SYS_IPC_EVENT_UNMASK,
    79        
     79
    8080        SYS_PERM_GRANT,
    8181        SYS_PERM_REVOKE,
    82        
     82
    8383        SYS_PHYSMEM_MAP,
    8484        SYS_PHYSMEM_UNMAP,
     
    8787        SYS_IOSPACE_ENABLE,
    8888        SYS_IOSPACE_DISABLE,
    89        
     89
    9090        SYS_IPC_IRQ_SUBSCRIBE,
    9191        SYS_IPC_IRQ_UNSUBSCRIBE,
    92        
     92
    9393        SYS_SYSINFO_GET_KEYS_SIZE,
    9494        SYS_SYSINFO_GET_KEYS,
     
    9797        SYS_SYSINFO_GET_DATA_SIZE,
    9898        SYS_SYSINFO_GET_DATA,
    99        
     99
    100100        SYS_DEBUG_CONSOLE,
    101        
     101
    102102        SYS_KLOG,
    103        
     103
    104104        SYSCALL_END
    105105} syscall_t;
Note: See TracChangeset for help on using the changeset viewer.