Changeset 5b0cf63 in mainline


Ignore:
Timestamp:
2018-01-25T13:42:08Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1ab3c4b
Parents:
c832ab15
git-author:
Jiri Svoboda <jiri@…> (2017-01-24 18:40:44)
git-committer:
Jiri Svoboda <jiri@…> (2018-01-25 13:42:08)
Message:

A round of cstyle fixing (i.e. run make ccheck-fix).

Files:
86 edited

Legend:

Unmodified
Added
Removed
  • abi/include/abi/ipc/methods.h

    rc832ab15 r5b0cf63  
    108108         *
    109109         * - ARG1 - source user page address
    110          */ 
     110         */
    111111        IPC_M_PAGE_IN,
    112112
  • abi/include/abi/proc/uarg.h

    rc832ab15 r5b0cf63  
    4444        size_t uspace_stack_size;
    4545       
    46         void (* uspace_thread_function)(void *);
     46        void (*uspace_thread_function)(void *);
    4747        void *uspace_thread_arg;
    4848       
  • boot/arch/arm32/include/arch/arch.h

    rc832ab15 r5b0cf63  
    5555
    5656#ifdef MACHINE_beagleboardxm
    57         #define PA_OFFSET 0
     57#define PA_OFFSET 0
    5858#elif defined MACHINE_beaglebone
    59         #define PA_OFFSET 0
     59#define PA_OFFSET 0
    6060#else
    61         #define PA_OFFSET 0x80000000
     61#define PA_OFFSET 0x80000000
    6262#endif
    6363
    6464#ifndef __ASM__
    65         #define PA2KA(addr)  (((uintptr_t) (addr)) + PA_OFFSET)
     65#define PA2KA(addr)  (((uintptr_t) (addr)) + PA_OFFSET)
    6666#else
    67         #define PA2KA(addr)  ((addr) + PA_OFFSET)
     67#define PA2KA(addr)  ((addr) + PA_OFFSET)
    6868#endif
    6969
  • boot/arch/mips32/include/arch/arch.h

    rc832ab15 r5b0cf63  
    5656
    5757#ifndef __ASM__
    58         #define PA2KA(addr)    (((uintptr_t) (addr)) + 0x80000000)
    59         #define PA2KSEG(addr)  (((uintptr_t) (addr)) + 0xa0000000)
    60         #define KA2PA(addr)    (((uintptr_t) (addr)) - 0x80000000)
    61         #define KSEG2PA(addr)  (((uintptr_t) (addr)) - 0xa0000000)
     58#define PA2KA(addr)    (((uintptr_t) (addr)) + 0x80000000)
     59#define PA2KSEG(addr)  (((uintptr_t) (addr)) + 0xa0000000)
     60#define KA2PA(addr)    (((uintptr_t) (addr)) - 0x80000000)
     61#define KSEG2PA(addr)  (((uintptr_t) (addr)) - 0xa0000000)
    6262#else
    63         #define PA2KA(addr)    ((addr) + 0x80000000)
    64         #define KSEG2PA(addr)  ((addr) - 0xa0000000)
     63#define PA2KA(addr)    ((addr) + 0x80000000)
     64#define KSEG2PA(addr)  ((addr) - 0xa0000000)
    6565#endif
    6666
  • boot/arch/ppc32/include/arch/arch.h

    rc832ab15 r5b0cf63  
    3838
    3939#ifndef __ASM__
    40         #define PA2KA(addr)  (((uintptr_t) (addr)) + 0x80000000)
     40#define PA2KA(addr)  (((uintptr_t) (addr)) + 0x80000000)
    4141#else
    42         #define PA2KA(addr)  ((addr) + 0x80000000)
     42#define PA2KA(addr)  ((addr) + 0x80000000)
    4343#endif
    4444
  • boot/arch/riscv64/include/arch/mm.h

    rc832ab15 r5b0cf63  
    3434
    3535#ifndef __ASM__
    36         #define KA2PA(x)  (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))
    37         #define PA2KA(x)  (((uintptr_t) (x)) + UINT64_C(0xffff800000000000))
     36#define KA2PA(x)  (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))
     37#define PA2KA(x)  (((uintptr_t) (x)) + UINT64_C(0xffff800000000000))
    3838#else
    39         #define KA2PA(x)  ((x) - 0xffff800000000000)
    40         #define PA2KA(x)  ((x) + 0xffff800000000000)
     39#define KA2PA(x)  ((x) - 0xffff800000000000)
     40#define PA2KA(x)  ((x) + 0xffff800000000000)
    4141#endif
    4242
  • kernel/arch/amd64/include/arch/interrupt.h

    rc832ab15 r5b0cf63  
    8383#define VECTOR_SMP_CALL_IPI       (IVT_FREEBASE + 3)
    8484
    85 extern void (* disable_irqs_function)(uint16_t);
    86 extern void (* enable_irqs_function)(uint16_t);
    87 extern void (* eoi_function)(void);
     85extern void (*disable_irqs_function)(uint16_t);
     86extern void (*enable_irqs_function)(uint16_t);
     87extern void (*eoi_function)(void);
    8888extern const char *irqs_info;
    8989
  • kernel/arch/arm32/include/arch/elf.h

    rc832ab15 r5b0cf63  
    4040
    4141#ifdef __BE__
    42         #define ELF_DATA_ENCODING  ELFDATA2MSB
     42#define ELF_DATA_ENCODING  ELFDATA2MSB
    4343#else
    44         #define ELF_DATA_ENCODING  ELFDATA2LSB
     44#define ELF_DATA_ENCODING  ELFDATA2LSB
    4545#endif
    4646
  • kernel/arch/arm32/include/arch/exception.h

    rc832ab15 r5b0cf63  
    4545
    4646#ifdef HIGH_EXCEPTION_VECTORS
    47         #define EXC_BASE_ADDRESS  0xffff0000
     47#define EXC_BASE_ADDRESS  0xffff0000
    4848#else
    49         #define EXC_BASE_ADDRESS  0x0
     49#define EXC_BASE_ADDRESS  0x0
    5050#endif
    5151
  • kernel/arch/arm32/include/arch/mach/integratorcp/integratorcp.h

    rc832ab15 r5b0cf63  
    7777
    7878typedef struct {
    79         uintptr_t uart;
    80         uintptr_t kbd_ctrl;
    81         uintptr_t kbd_stat;
    82         uintptr_t kbd_data;
    83         uintptr_t kbd_intstat;
    84         uintptr_t rtc;
    85         uintptr_t rtc1_load;
    86         uintptr_t rtc1_read;
    87         uintptr_t rtc1_ctl;
    88         uintptr_t rtc1_intrclr;
    89         uintptr_t rtc1_intrstat;
    90         uintptr_t rtc1_bgload;
    91         uintptr_t irqc;
    92         uintptr_t irqc_mask;
    93         uintptr_t irqc_unmask;
    94         uintptr_t vga;
    95         uintptr_t cmcr;
    96         uintptr_t sdramcr;
     79        uintptr_t uart;
     80        uintptr_t kbd_ctrl;
     81        uintptr_t kbd_stat;
     82        uintptr_t kbd_data;
     83        uintptr_t kbd_intstat;
     84        uintptr_t rtc;
     85        uintptr_t rtc1_load;
     86        uintptr_t rtc1_read;
     87        uintptr_t rtc1_ctl;
     88        uintptr_t rtc1_intrclr;
     89        uintptr_t rtc1_intrstat;
     90        uintptr_t rtc1_bgload;
     91        uintptr_t irqc;
     92        uintptr_t irqc_mask;
     93        uintptr_t irqc_unmask;
     94        uintptr_t vga;
     95        uintptr_t cmcr;
     96        uintptr_t sdramcr;
    9797} icp_hw_map_t;
    9898
  • kernel/arch/arm32/include/arch/machine_func.h

    rc832ab15 r5b0cf63  
    108108extern size_t machine_get_irq_count(void);
    109109
    110 extern const char * machine_get_platform_name(void);
     110extern const char *machine_get_platform_name(void);
    111111
    112112#endif
  • kernel/arch/arm32/include/arch/types.h

    rc832ab15 r5b0cf63  
    3838
    3939#ifndef DOXYGEN
    40         #define ATTRIBUTE_PACKED __attribute__((packed))
     40#define ATTRIBUTE_PACKED __attribute__((packed))
    4141#else
    42         #define ATTRIBUTE_PACKED
     42#define ATTRIBUTE_PACKED
    4343#endif
    4444
  • kernel/arch/ia32/include/arch/interrupt.h

    rc832ab15 r5b0cf63  
    8585#define VECTOR_SMP_CALL_IPI       (IVT_FREEBASE + 3)
    8686
    87 extern void (* disable_irqs_function)(uint16_t);
    88 extern void (* enable_irqs_function)(uint16_t);
    89 extern void (* eoi_function)(void);
     87extern void (*disable_irqs_function)(uint16_t);
     88extern void (*enable_irqs_function)(uint16_t);
     89extern void (*eoi_function)(void);
    9090extern const char *irqs_info;
    9191
  • kernel/arch/ia32/include/arch/smp/smp.h

    rc832ab15 r5b0cf63  
    4242struct smp_config_operations {
    4343        /** Check whether a processor is enabled. */
    44         bool (* cpu_enabled)(size_t);
     44        bool (*cpu_enabled)(size_t);
    4545       
    4646        /** Check whether a processor is BSP. */
  • kernel/arch/mips32/include/arch/elf.h

    rc832ab15 r5b0cf63  
    3939
    4040#ifdef __BE__
    41         #define ELF_DATA_ENCODING  ELFDATA2MSB
     41#define ELF_DATA_ENCODING  ELFDATA2MSB
    4242#else
    43         #define ELF_DATA_ENCODING  ELFDATA2LSB
     43#define ELF_DATA_ENCODING  ELFDATA2LSB
    4444#endif
    4545
  • kernel/arch/sparc64/include/arch/drivers/pci.h

    rc832ab15 r5b0cf63  
    5252
    5353struct pci_operations {
    54         void (* enable_interrupt)(pci_t *, int);
    55         void (* clear_interrupt)(pci_t *, int);
     54        void (*enable_interrupt)(pci_t *, int);
     55        void (*clear_interrupt)(pci_t *, int);
    5656};
    5757
  • kernel/arch/sparc64/include/arch/mm/cache_spec.h

    rc832ab15 r5b0cf63  
    4747
    4848#if defined (US)
    49         #define DCACHE_SIZE  (16 * 1024)
     49#define DCACHE_SIZE  (16 * 1024)
    5050#elif defined (US3)
    51         #define DCACHE_SIZE  (64 * 1024)
     51#define DCACHE_SIZE  (64 * 1024)
    5252#endif
    5353
  • kernel/arch/sparc64/include/arch/sun4v/md.h

    rc832ab15 r5b0cf63  
    5454const char *md_get_node_name(md_node_t node);
    5555bool md_get_integer_property(md_node_t node, const char *key,
    56         uint64_t *result);
     56    uint64_t *result);
    5757bool md_get_string_property(md_node_t node, const char *key,
    58         const char **result);
     58    const char **result);
    5959bool md_next_node(md_node_t *node, const char *name);
    6060void md_init(void);
  • kernel/doc/doxygroups.h

    rc832ab15 r5b0cf63  
    117117         * @ingroup mm
    118118         * @endcond
    119          */     
     119         */
    120120       
    121121        /**
     
    193193         * @ingroup ddi
    194194         * @endcond
    195          */     
     195         */
    196196
    197197        /**
     
    257257         * @ingroup debug
    258258         * @endcond
    259          */     
     259         */
    260260
    261261        /**
     
    321321         * @ingroup interrupt
    322322         * @endcond
    323          */     
     323         */
    324324
    325325        /**
     
    389389         * @ingroup others
    390390         * @endcond
    391          */     
     391         */
    392392
    393393        /**
  • kernel/genarch/include/genarch/ofw/ofw_tree.h

    rc832ab15 r5b0cf63  
    6565
    6666/* Walker for visiting OpenFirmware device tree nodes. */
    67 typedef bool (* ofw_tree_walker_t)(ofw_tree_node_t *, void *);
     67typedef bool (*ofw_tree_walker_t)(ofw_tree_node_t *, void *);
    6868
    6969extern void ofw_tree_init(ofw_tree_node_t *);
  • kernel/generic/include/adt/hash_table.h

    rc832ab15 r5b0cf63  
    8484        member_to_inst((item), type, member)
    8585
    86 extern bool hash_table_create(hash_table_t *, size_t, size_t, 
    87         hash_table_ops_t *);
     86extern bool hash_table_create(hash_table_t *, size_t, size_t,
     87    hash_table_ops_t *);
    8888extern void hash_table_destroy(hash_table_t *);
    8989
     
    9898extern size_t hash_table_remove(hash_table_t *, void *);
    9999extern void hash_table_remove_item(hash_table_t *, ht_link_t *);
    100 extern void hash_table_apply(hash_table_t *, bool (*)(ht_link_t *, void *), 
    101         void *);
     100extern void hash_table_apply(hash_table_t *, bool (*)(ht_link_t *, void *),
     101    void *);
    102102
    103103
  • kernel/generic/include/align.h

    rc832ab15 r5b0cf63  
    5858 * @param s Address or size to be checked for alignment.
    5959 * @param a Size of alignment, must be a power of 2.
    60  */ 
     60 */
    6161#define IS_ALIGNED(s, a)        (ALIGN_UP((s), (a)) == (s))
    6262
  • kernel/generic/include/arch.h

    rc832ab15 r5b0cf63  
    8080
    8181typedef struct {
    82         void (* pre_mm_init)(void);
    83         void (* post_mm_init)(void);
    84         void (* post_cpu_init)(void);
    85         void (* pre_smp_init)(void);
    86         void (* post_smp_init)(void);
     82        void (*pre_mm_init)(void);
     83        void (*post_mm_init)(void);
     84        void (*post_cpu_init)(void);
     85        void (*pre_smp_init)(void);
     86        void (*post_smp_init)(void);
    8787} arch_ops_t;
    8888
  • kernel/generic/include/gsort.h

    rc832ab15 r5b0cf63  
    3939#include <stddef.h>
    4040
    41 typedef int (* sort_cmp_t)(void *, void *, void *);
     41typedef int (*sort_cmp_t)(void *, void *, void *);
    4242
    4343extern bool gsort(void *, size_t, size_t, sort_cmp_t, void *);
  • kernel/generic/include/ipc/sysipc_ops.h

    rc832ab15 r5b0cf63  
    9090         * Invoked on:          all calls
    9191         */
    92         errno_t (* request_preprocess)(call_t *, phone_t *);
     92        errno_t (*request_preprocess)(call_t *, phone_t *);
    9393
    9494        /**
     
    101101         *                      _ipc_answer_free_call()
    102102         * Invoked on:          all forgotten calls
    103          */     
    104         errno_t (* request_forget)(call_t *);
     103         */
     104        errno_t (*request_forget)(call_t *);
    105105
    106106        /**
     
    111111         * Races with:          request_forget()
    112112         * Invoked on:          all calls delivered to the callee
    113          */     
    114         int (* request_process)(call_t *, answerbox_t *);
     113         */
     114        int (*request_process)(call_t *, answerbox_t *);
    115115
    116116        /**
     
    123123         * Invoked on:          all forgotten calls
    124124         */
    125         errno_t (* answer_cleanup)(call_t *, ipc_data_t *);
     125        errno_t (*answer_cleanup)(call_t *, ipc_data_t *);
    126126
    127127        /**
     
    134134         * Invoked on:          all answered calls
    135135         */
    136         errno_t (* answer_preprocess)(call_t *, ipc_data_t *);
     136        errno_t (*answer_preprocess)(call_t *, ipc_data_t *);
    137137
    138138        /**
     
    144144         * Invoked on:          all answered calls
    145145         */
    146         errno_t (* answer_process)(call_t *);
     146        errno_t (*answer_process)(call_t *);
    147147} sysipc_ops_t;
    148148
  • kernel/generic/include/mm/page.h

    rc832ab15 r5b0cf63  
    4646/** Operations to manipulate page mappings. */
    4747typedef struct {
    48         void (* mapping_insert)(as_t *, uintptr_t, uintptr_t, unsigned int);
    49         void (* mapping_remove)(as_t *, uintptr_t);
    50         bool (* mapping_find)(as_t *, uintptr_t, bool, pte_t *);
    51         void (* mapping_update)(as_t *, uintptr_t, bool, pte_t *);
    52         void (* mapping_make_global)(uintptr_t, size_t);
     48        void (*mapping_insert)(as_t *, uintptr_t, uintptr_t, unsigned int);
     49        void (*mapping_remove)(as_t *, uintptr_t);
     50        bool (*mapping_find)(as_t *, uintptr_t, bool, pte_t *);
     51        void (*mapping_update)(as_t *, uintptr_t, bool, pte_t *);
     52        void (*mapping_make_global)(uintptr_t, size_t);
    5353} page_mapping_operations_t;
    5454
  • kernel/generic/include/stacktrace.h

    rc832ab15 r5b0cf63  
    4949
    5050typedef struct {
    51         bool (* stack_trace_context_validate)(stack_trace_context_t *);
    52         bool (* frame_pointer_prev)(stack_trace_context_t *, uintptr_t *);
    53         bool (* return_address_get)(stack_trace_context_t *, uintptr_t *);
    54         bool (* symbol_resolve)(uintptr_t, const char **, uintptr_t *);
     51        bool (*stack_trace_context_validate)(stack_trace_context_t *);
     52        bool (*frame_pointer_prev)(stack_trace_context_t *, uintptr_t *);
     53        bool (*return_address_get)(stack_trace_context_t *, uintptr_t *);
     54        bool (*symbol_resolve)(uintptr_t, const char **, uintptr_t *);
    5555} stack_trace_ops_t;
    5656
  • kernel/generic/include/symtab.h

    rc832ab15 r5b0cf63  
    4040
    4141extern void symtab_print_search(const char *);
    42 extern const char* symtab_hints_enum(const char *, const char **, void **);
     42extern const char *symtab_hints_enum(const char *, const char **, void **);
    4343
    4444#endif
  • kernel/generic/include/synch/condvar.h

    rc832ab15 r5b0cf63  
    6565    int flags);
    6666extern errno_t _condvar_wait_timeout_spinlock_impl(condvar_t *cv, spinlock_t *lock,
    67         uint32_t usec, int flags);
     67    uint32_t usec, int flags);
    6868extern errno_t _condvar_wait_timeout_irq_spinlock(condvar_t *cv,
    69         irq_spinlock_t *irq_lock, uint32_t usec, int flags);
     69    irq_spinlock_t *irq_lock, uint32_t usec, int flags);
    7070
    7171
  • kernel/generic/include/synch/workqueue.h

    rc832ab15 r5b0cf63  
    6464extern bool workq_global_enqueue(work_t *, work_func_t);
    6565
    66 extern struct work_queue * workq_create(const char *);
     66extern struct work_queue *workq_create(const char *);
    6767extern void workq_destroy(struct work_queue *);
    6868extern bool workq_init(struct work_queue *, const char *);
  • kernel/generic/include/typedefs.h

    rc832ab15 r5b0cf63  
    4343} atomic_t;
    4444
    45 typedef void (* function)(void);
     45typedef void (*function)(void);
    4646
    4747typedef uint32_t container_id_t;
  • uspace/app/bdsh/tok.h

    rc832ab15 r5b0cf63  
    4242        size_t byte_length;
    4343        size_t char_length;
    44         token_type_t type;
     44        token_type_t type;
    4545} token_t;
    4646
  • uspace/drv/audio/hdaudio/spec/regs.h

    rc832ab15 r5b0cf63  
    6464        /** Buffer Descriptor List Pointer - Lower */
    6565        uint32_t bdpl;
    66         /** Buffer Descriptor List Pointer - Upper */ 
     66        /** Buffer Descriptor List Pointer - Upper */
    6767        uint32_t bdpu;
    6868} hda_sdesc_regs_t;
  • uspace/drv/audio/sb16/dsp.h

    rc832ab15 r5b0cf63  
    8282errno_t sb_dsp_get_buffer_position(sb_dsp_t *dsp, size_t *size);
    8383errno_t sb_dsp_test_format(sb_dsp_t *dsp, unsigned *channels, unsigned *rate,
    84   pcm_sample_format_t *format);
     84    pcm_sample_format_t *format);
    8585errno_t sb_dsp_get_buffer(sb_dsp_t *dsp, void **buffer, size_t *size);
    8686errno_t sb_dsp_set_event_session(sb_dsp_t *dsp, async_sess_t *session);
    87 async_sess_t * sb_dsp_get_event_session(sb_dsp_t *dsp);
     87async_sess_t *sb_dsp_get_event_session(sb_dsp_t *dsp);
    8888errno_t sb_dsp_release_buffer(sb_dsp_t *dsp);
    8989errno_t sb_dsp_start_playback(sb_dsp_t *dsp, unsigned frames,
  • uspace/drv/audio/sb16/mixer.h

    rc832ab15 r5b0cf63  
    5050} sb_mixer_t;
    5151
    52 const char * sb_mixer_type_str(sb_mixer_type_t type);
     52const char *sb_mixer_type_str(sb_mixer_type_t type);
    5353errno_t sb_mixer_init(sb_mixer_t *mixer, sb16_regs_t *regs, sb_mixer_type_t type);
    5454int sb_mixer_get_control_item_count(const sb_mixer_t *mixer);
  • uspace/drv/hid/atkbd/atkbd.h

    rc832ab15 r5b0cf63  
    4949        chardev_t *chardev;
    5050        /** Callback connection to client */
    51         async_sess_t *client_sess; 
     51        async_sess_t *client_sess;
    5252        /** Fibril retrieving and parsing data */
    5353        fid_t polling_fibril;
  • uspace/lib/block/block.h

    rc832ab15 r5b0cf63  
    8585        /** Link for placing the block into the free block list. */
    8686        link_t free_link;
    87         /** Link for placing the block into the block hash table. */ 
     87        /** Link for placing the block into the block hash table. */
    8888        ht_link_t hash_link;
    8989        /** Buffer with the block data. */
  • uspace/lib/c/arch/ia32/include/libarch/syscall.h

    rc832ab15 r5b0cf63  
    4848#define __syscall6  __syscall_slow
    4949
    50 extern sysarg_t (* __syscall_fast_func)(const sysarg_t, const sysarg_t,
     50extern sysarg_t (*__syscall_fast_func)(const sysarg_t, const sysarg_t,
    5151    const sysarg_t, const sysarg_t, const sysarg_t, const sysarg_t,
    5252    const syscall_t);
  • uspace/lib/c/include/adt/hash_table.h

    rc832ab15 r5b0cf63  
    8484        member_to_inst((item), type, member)
    8585
    86 extern bool hash_table_create(hash_table_t *, size_t, size_t, 
    87         hash_table_ops_t *);
     86extern bool hash_table_create(hash_table_t *, size_t, size_t,
     87    hash_table_ops_t *);
    8888extern void hash_table_destroy(hash_table_t *);
    8989
     
    9898extern size_t hash_table_remove(hash_table_t *, void *);
    9999extern void hash_table_remove_item(hash_table_t *, ht_link_t *);
    100 extern void hash_table_apply(hash_table_t *, bool (*)(ht_link_t *, void *), 
    101         void *);
     100extern void hash_table_apply(hash_table_t *, bool (*)(ht_link_t *, void *),
     101    void *);
    102102
    103103
  • uspace/lib/c/include/async.h

    rc832ab15 r5b0cf63  
    3434
    3535#if ((defined(LIBC_IPC_H_)) && (!defined(LIBC_ASYNC_C_)))
    36         #error Do not intermix low-level IPC interface and async framework
     36#error Do not intermix low-level IPC interface and async framework
    3737#endif
    3838
  • uspace/lib/c/include/gsort.h

    rc832ab15 r5b0cf63  
    3939#include <stdbool.h>
    4040
    41 typedef int (* sort_cmp_t)(void *, void *, void *);
     41typedef int (*sort_cmp_t)(void *, void *, void *);
    4242
    4343extern bool gsort(void *, size_t, size_t, sort_cmp_t, void *);
  • uspace/lib/c/include/ipc/ipc.h

    rc832ab15 r5b0cf63  
    3434
    3535#if ((defined(LIBC_ASYNC_H_)) && (!defined(LIBC_ASYNC_C_)))
    36         #error Do not intermix low-level IPC interface and async framework
     36#error Do not intermix low-level IPC interface and async framework
    3737#endif
    3838
  • uspace/lib/c/include/ipc/logger.h

    rc832ab15 r5b0cf63  
    5454         * Returns: error code
    5555         * Followed by: vfs_pass_handle() request.
    56          */ 
     56         */
    5757        LOGGER_CONTROL_SET_ROOT
    5858} logger_control_request_t;
  • uspace/lib/c/include/rtld/rtld_debug.h

    rc832ab15 r5b0cf63  
    4242
    4343#ifdef RTLD_DEBUG
    44         #define DPRINTF(format, ...) printf(format, ##__VA_ARGS__)
     44#define DPRINTF(format, ...) printf(format, ##__VA_ARGS__)
    4545#else
    46         #define DPRINTF(format, ...) if (0) printf(format, ##__VA_ARGS__)
     46#define DPRINTF(format, ...) if (0) printf(format, ##__VA_ARGS__)
    4747#endif
    4848
  • uspace/lib/c/include/syscall.h

    rc832ab15 r5b0cf63  
    4141
    4242#ifndef LIBARCH_SYSCALL_GENERIC
    43         #error You cannot include this file directly
     43#error You cannot include this file directly
    4444#endif
    4545
  • uspace/lib/c/include/time.h

    rc832ab15 r5b0cf63  
    3131 */
    3232/** @file
    33  */ 
     33 */
    3434
    3535#ifndef LIBC_TIME_H_
  • uspace/lib/c/include/udebug.h

    rc832ab15 r5b0cf63  
    4646extern errno_t udebug_end(async_sess_t *);
    4747extern errno_t udebug_set_evmask(async_sess_t *, udebug_evmask_t);
    48 extern errno_t udebug_thread_read(async_sess_t *, void *, size_t , size_t *,
     48extern errno_t udebug_thread_read(async_sess_t *, void *, size_t, size_t *,
    4949    size_t *);
    5050extern errno_t udebug_name_read(async_sess_t *, void *, size_t, size_t *,
  • uspace/lib/c/include/vfs/inbox.h

    rc832ab15 r5b0cf63  
    2929/** @addtogroup libc
    3030 * @{
    31  */ 
     31 */
    3232
    3333/**
  • uspace/lib/draw/surface.h

    rc832ab15 r5b0cf63  
    6060extern void surface_get_damaged_region(surface_t *, surface_coord_t *, surface_coord_t *,
    6161    surface_coord_t *, surface_coord_t *);
    62 extern void surface_add_damaged_region(surface_t *, surface_coord_t , surface_coord_t ,
    63     surface_coord_t , surface_coord_t );
     62extern void surface_add_damaged_region(surface_t *, surface_coord_t, surface_coord_t,
     63    surface_coord_t, surface_coord_t);
    6464extern void surface_reset_damaged_region(surface_t *);
    6565
  • uspace/lib/drv/include/ahci_iface.h

    rc832ab15 r5b0cf63  
    4141#include <async.h>
    4242
    43 extern async_sess_t* ahci_get_sess(devman_handle_t, char **);
     43extern async_sess_t *ahci_get_sess(devman_handle_t, char **);
    4444
    4545extern errno_t ahci_get_sata_device_name(async_sess_t *, size_t, char *);
  • uspace/lib/drv/include/audio_pcm_iface.h

    rc832ab15 r5b0cf63  
    120120        errno_t (*release_buffer)(ddf_fun_t *);
    121121        errno_t (*set_event_session)(ddf_fun_t *, async_sess_t *);
    122         async_sess_t * (*get_event_session)(ddf_fun_t *);
     122        async_sess_t *(*get_event_session)(ddf_fun_t *);
    123123        errno_t (*start_playback)(ddf_fun_t *, unsigned,
    124124            unsigned, unsigned, pcm_sample_format_t);
  • uspace/lib/drv/include/ops/nic.h

    rc832ab15 r5b0cf63  
    6666        errno_t (*autoneg_restart)(ddf_fun_t *);
    6767        errno_t (*get_pause)(ddf_fun_t *, nic_result_t *, nic_result_t *,
    68                 uint16_t *);
     68            uint16_t *);
    6969        errno_t (*set_pause)(ddf_fun_t *, int, int, uint16_t);
    7070       
  • uspace/lib/drv/include/ops/pio_window.h

    rc832ab15 r5b0cf63  
    4040
    4141typedef struct {
    42         pio_window_t *(* get_pio_window)(ddf_fun_t *);
     42        pio_window_t *(*get_pio_window)(ddf_fun_t *);
    4343} pio_window_ops_t;
    4444
  • uspace/lib/drv/include/usbhid_iface.h

    rc832ab15 r5b0cf63  
    8181         * @return Error code.
    8282         */
    83         errno_t (*get_report_descriptor)(ddf_fun_t *fun, uint8_t *desc, 
     83        errno_t (*get_report_descriptor)(ddf_fun_t *fun, uint8_t *desc,
    8484            size_t size, size_t *act_size);
    8585} usbhid_iface_t;
  • uspace/lib/ext4/include/ext4/inode.h

    rc832ab15 r5b0cf63  
    7373extern uint32_t ext4_inode_get_indirect_block(ext4_inode_t *, uint32_t);
    7474extern void ext4_inode_set_indirect_block(ext4_inode_t *, uint32_t, uint32_t);
    75 extern ext4_extent_header_t * ext4_inode_get_extent_header(ext4_inode_t *);
     75extern ext4_extent_header_t *ext4_inode_get_extent_header(ext4_inode_t *);
    7676extern bool ext4_inode_is_type(ext4_superblock_t *, ext4_inode_t *, uint32_t);
    7777extern bool ext4_inode_has_flag(ext4_inode_t *, uint32_t);
  • uspace/lib/ext4/include/ext4/superblock.h

    rc832ab15 r5b0cf63  
    113113    uint32_t);
    114114
    115 extern const uint8_t * ext4_superblock_get_uuid(ext4_superblock_t *);
     115extern const uint8_t *ext4_superblock_get_uuid(ext4_superblock_t *);
    116116extern void ext4_superblock_set_uuid(ext4_superblock_t *, const uint8_t *);
    117 extern const char * ext4_superblock_get_volume_name(ext4_superblock_t *);
     117extern const char *ext4_superblock_get_volume_name(ext4_superblock_t *);
    118118extern void ext4_superblock_set_volume_name(ext4_superblock_t *, const char *);
    119 extern const char * ext4_superblock_get_last_mounted(ext4_superblock_t *);
     119extern const char *ext4_superblock_get_last_mounted(ext4_superblock_t *);
    120120extern void ext4_superblock_set_last_mounted(ext4_superblock_t *, const char *);
    121121
    122122extern uint32_t ext4_superblock_get_last_orphan(ext4_superblock_t *);
    123123extern void ext4_superblock_set_last_orphan(ext4_superblock_t *, uint32_t);
    124 extern const uint32_t * ext4_superblock_get_hash_seed(ext4_superblock_t *);
     124extern const uint32_t *ext4_superblock_get_hash_seed(ext4_superblock_t *);
    125125extern void ext4_superblock_set_hash_seed(ext4_superblock_t *,
    126126    const uint32_t *);
  • uspace/lib/fs/libfs.h

    rc832ab15 r5b0cf63  
    4343
    4444typedef struct {
    45         errno_t (* fsprobe)(service_id_t, vfs_fs_probe_info_t *);
    46         errno_t (* mounted)(service_id_t, const char *, fs_index_t *, aoff64_t *);
    47         errno_t (* unmounted)(service_id_t);
    48         errno_t (* read)(service_id_t, fs_index_t, aoff64_t, size_t *);
    49         errno_t (* write)(service_id_t, fs_index_t, aoff64_t, size_t *,
     45        errno_t (*fsprobe)(service_id_t, vfs_fs_probe_info_t *);
     46        errno_t (*mounted)(service_id_t, const char *, fs_index_t *, aoff64_t *);
     47        errno_t (*unmounted)(service_id_t);
     48        errno_t (*read)(service_id_t, fs_index_t, aoff64_t, size_t *);
     49        errno_t (*write)(service_id_t, fs_index_t, aoff64_t, size_t *,
    5050            aoff64_t *);
    51         errno_t (* truncate)(service_id_t, fs_index_t, aoff64_t);
    52         errno_t (* close)(service_id_t, fs_index_t);
    53         errno_t (* destroy)(service_id_t, fs_index_t);
    54         errno_t (* sync)(service_id_t, fs_index_t);
     51        errno_t (*truncate)(service_id_t, fs_index_t, aoff64_t);
     52        errno_t (*close)(service_id_t, fs_index_t);
     53        errno_t (*destroy)(service_id_t, fs_index_t);
     54        errno_t (*sync)(service_id_t, fs_index_t);
    5555} vfs_out_ops_t;
    5656
     
    6565         * argument holds the output argument.
    6666         */
    67         errno_t (* root_get)(fs_node_t **, service_id_t);
    68         errno_t (* match)(fs_node_t **, fs_node_t *, const char *);
    69         errno_t (* node_get)(fs_node_t **, service_id_t, fs_index_t);
    70         errno_t (* node_open)(fs_node_t *);
    71         errno_t (* node_put)(fs_node_t *);
    72         errno_t (* create)(fs_node_t **, service_id_t, int);
    73         errno_t (* destroy)(fs_node_t *);
    74         errno_t (* link)(fs_node_t *, fs_node_t *, const char *);
    75         errno_t (* unlink)(fs_node_t *, fs_node_t *, const char *);
    76         errno_t (* has_children)(bool *, fs_node_t *);
     67        errno_t (*root_get)(fs_node_t **, service_id_t);
     68        errno_t (*match)(fs_node_t **, fs_node_t *, const char *);
     69        errno_t (*node_get)(fs_node_t **, service_id_t, fs_index_t);
     70        errno_t (*node_open)(fs_node_t *);
     71        errno_t (*node_put)(fs_node_t *);
     72        errno_t (*create)(fs_node_t **, service_id_t, int);
     73        errno_t (*destroy)(fs_node_t *);
     74        errno_t (*link)(fs_node_t *, fs_node_t *, const char *);
     75        errno_t (*unlink)(fs_node_t *, fs_node_t *, const char *);
     76        errno_t (*has_children)(bool *, fs_node_t *);
    7777        /*
    7878         * The second set of methods are usually mere getters that do not
    7979         * return an integer error code.
    8080         */
    81         fs_index_t (* index_get)(fs_node_t *);
    82         aoff64_t (* size_get)(fs_node_t *);
    83         unsigned int (* lnkcnt_get)(fs_node_t *);
    84         bool (* is_directory)(fs_node_t *);
    85         bool (* is_file)(fs_node_t *);
    86         service_id_t (* service_get)(fs_node_t *);
    87         errno_t (* size_block)(service_id_t, uint32_t *);
    88         errno_t (* total_block_count)(service_id_t, uint64_t *);
    89         errno_t (* free_block_count)(service_id_t, uint64_t *);
     81        fs_index_t (*index_get)(fs_node_t *);
     82        aoff64_t (*size_get)(fs_node_t *);
     83        unsigned int (*lnkcnt_get)(fs_node_t *);
     84        bool (*is_directory)(fs_node_t *);
     85        bool (*is_file)(fs_node_t *);
     86        service_id_t (*service_get)(fs_node_t *);
     87        errno_t (*size_block)(service_id_t, uint32_t *);
     88        errno_t (*total_block_count)(service_id_t, uint64_t *);
     89        errno_t (*free_block_count)(service_id_t, uint64_t *);
    9090} libfs_ops_t;
    9191
  • uspace/lib/graph/graph.h

    rc832ab15 r5b0cf63  
    5454         * Device driver shall allocate any necessary internal structures
    5555         * specific for a claimed visualizer. */
    56         errno_t (* claim)(struct visualizer *vs);
     56        errno_t (*claim)(struct visualizer *vs);
    5757       
    5858        /**
     
    6161         * the mode is set and if so it shall change its internal state
    6262         * accordingly (e.g. deallocate frame buffers). */
    63         errno_t (* yield)(struct visualizer *vs);
     63        errno_t (*yield)(struct visualizer *vs);
    6464       
    6565        /**
     
    7272         * optimization), the pointer to the handle_damage operation can be
    7373         * changed at this point. */
    74         errno_t (* change_mode)(struct visualizer *vs, vslmode_t new_mode);
     74        errno_t (*change_mode)(struct visualizer *vs, vslmode_t new_mode);
    7575       
    7676        /**
     
    8282         * shall be added to the coordinates and if necessary the result shall be
    8383         * wrapped around the edge of the backbuffer). */
    84         errno_t (* handle_damage)(struct visualizer *vs,
     84        errno_t (*handle_damage)(struct visualizer *vs,
    8585            sysarg_t x, sysarg_t y, sysarg_t width, sysarg_t height,
    86                 sysarg_t x_offset, sysarg_t y_offset);
     86            sysarg_t x_offset, sysarg_t y_offset);
    8787       
    8888        /**
     
    9090         * case, device driver might enable power saving mode on the device
    9191         * corresponding to the visualizer. */
    92         errno_t (* suspend)(struct visualizer *vs);
     92        errno_t (*suspend)(struct visualizer *vs);
    9393       
    9494        /**
    9595         * When upper layers detect activity on suspended visualizer, device
    9696         * driver shall disable power saving mode on the corresponding device. */
    97         errno_t (* wakeup)(struct visualizer *vs);
     97        errno_t (*wakeup)(struct visualizer *vs);
    9898} visualizer_ops_t;
    9999
  • uspace/lib/hound/include/hound/client.h

    rc832ab15 r5b0cf63  
    4747typedef struct hound_stream hound_stream_t;
    4848
    49 hound_context_t * hound_context_create_playback(const char *name,
     49hound_context_t *hound_context_create_playback(const char *name,
    5050    pcm_format_t format, size_t bsize);
    51 hound_context_t * hound_context_create_capture(const char *name,
     51hound_context_t *hound_context_create_capture(const char *name,
    5252    pcm_format_t format, size_t bsize);
    5353void hound_context_destroy(hound_context_t *hound);
     
    6161    char ***names, size_t *count);
    6262
    63 errno_t hound_context_connect_target(hound_context_t *hound, const char* target);
    64 errno_t hound_context_disconnect_target(hound_context_t *hound, const char* target);
     63errno_t hound_context_connect_target(hound_context_t *hound, const char *target);
     64errno_t hound_context_disconnect_target(hound_context_t *hound, const char *target);
    6565
    6666hound_stream_t *hound_stream_create(hound_context_t *hound, unsigned flags,
  • uspace/lib/nic/include/nic_addr_db.h

    rc832ab15 r5b0cf63  
    6262extern bool nic_addr_db_contains(const nic_addr_db_t *db, const uint8_t *addr);
    6363extern void nic_addr_db_foreach(const nic_addr_db_t *db,
    64         void (*func)(const uint8_t *, void *), void *arg);
     64    void (*func)(const uint8_t *, void *), void *arg);
    6565
    6666#endif
  • uspace/lib/nic/include/nic_impl.h

    rc832ab15 r5b0cf63  
    8282
    8383extern void nic_default_handler_impl(ddf_fun_t *dev_fun,
    84         ipc_callid_t callid, ipc_call_t *call);
     84    ipc_callid_t callid, ipc_call_t *call);
    8585extern errno_t nic_open_impl(ddf_fun_t *fun);
    8686extern void nic_close_impl(ddf_fun_t *fun);
  • uspace/lib/nic/include/nic_wol_virtues.h

    rc832ab15 r5b0cf63  
    7878extern errno_t nic_wol_virtues_verify(nic_wv_type_t, const void *, size_t);
    7979extern errno_t nic_wol_virtues_list(const nic_wol_virtues_t *, nic_wv_type_t type,
    80         size_t max_count, nic_wv_id_t *id_list, size_t *id_count);
     80    size_t max_count, nic_wv_id_t *id_list, size_t *id_count);
    8181extern errno_t nic_wol_virtues_add(nic_wol_virtues_t *, nic_wol_virtue_t *);
    8282extern nic_wol_virtue_t *nic_wol_virtues_remove(nic_wol_virtues_t *,
    83         nic_wv_id_t);
     83    nic_wv_id_t);
    8484extern const nic_wol_virtue_t *nic_wol_virtues_find(const nic_wol_virtues_t *,
    85         nic_wv_id_t);
     85    nic_wv_id_t);
    8686
    8787#endif
  • uspace/lib/pcut/src/internal.h

    rc832ab15 r5b0cf63  
    125125        /** Test completed. */
    126126        void (*test_done)(pcut_item_t *, int, const char *, const char *,
    127                 const char *);
     127            const char *);
    128128};
    129129
     
    135135void pcut_report_test_start(pcut_item_t *test);
    136136void pcut_report_test_done(pcut_item_t *test, int outcome,
    137                 const char *error_message, const char *teardown_error_message,
    138                 const char *extra_output);
     137    const char *error_message, const char *teardown_error_message,
     138    const char *extra_output);
    139139void pcut_report_test_done_unparsed(pcut_item_t *test, int outcome,
    140                 const char *unparsed_output, size_t unparsed_output_size);
     140    const char *unparsed_output, size_t unparsed_output_size);
    141141void pcut_report_done(void);
    142142
  • uspace/lib/posix/include/posix/float.h

    rc832ab15 r5b0cf63  
    4141/* define some standard C constants in terms of GCC built-ins */
    4242#ifdef __GNUC__
    43         #undef DBL_MANT_DIG
    44         #define DBL_MANT_DIG __DBL_MANT_DIG__
    45         #undef DBL_MIN_EXP
    46         #define DBL_MIN_EXP __DBL_MIN_EXP__
    47         #undef DBL_MAX_EXP
    48         #define DBL_MAX_EXP __DBL_MAX_EXP__
    49         #undef DBL_MAX
    50         #define DBL_MAX __DBL_MAX__
    51         #undef DBL_MAX_10_EXP
    52         #define DBL_MAX_10_EXP __DBL_MAX_10_EXP__
    53         #undef DBL_MIN_10_EXP
    54         #define DBL_MIN_10_EXP __DBL_MIN_10_EXP__
    55         #undef DBL_MIN
    56         #define DBL_MIN __DBL_MIN__
    57         #undef DBL_DIG
    58         #define DBL_DIG __DBL_DIG__
    59         #undef DBL_EPSILON
    60         #define DBL_EPSILON __DBL_EPSILON__
    61         #undef LDBL_EPSILON
    62         #define LDBL_EPSILON __LDBL_EPSILON__
    63         #undef FLT_RADIX
    64         #define FLT_RADIX __FLT_RADIX__
    65         #undef FLT_MIN
    66         #define FLT_MIN __FLT_MIN__
    67         #undef FLT_MAX
    68         #define FLT_MAX __FLT_MAX__
    69         #undef FLT_EPSILON
    70         #define FLT_EPSILON __FLT_EPSILON__
    71         #undef FLT_MANT_DIG
    72         #define FLT_MANT_DIG __FLT_MANT_DIG__
    73         #undef LDBL_MIN
    74         #define LDBL_MIN __LDBL_MIN__
    75         #undef LDBL_MAX
    76         #define LDBL_MAX __LDBL_MAX__
    77         #undef LDBL_MANT_DIG
    78         #define LDBL_MANT_DIG __LDBL_MANT_DIG__
     43#undef DBL_MANT_DIG
     44#define DBL_MANT_DIG __DBL_MANT_DIG__
     45#undef DBL_MIN_EXP
     46#define DBL_MIN_EXP __DBL_MIN_EXP__
     47#undef DBL_MAX_EXP
     48#define DBL_MAX_EXP __DBL_MAX_EXP__
     49#undef DBL_MAX
     50#define DBL_MAX __DBL_MAX__
     51#undef DBL_MAX_10_EXP
     52#define DBL_MAX_10_EXP __DBL_MAX_10_EXP__
     53#undef DBL_MIN_10_EXP
     54#define DBL_MIN_10_EXP __DBL_MIN_10_EXP__
     55#undef DBL_MIN
     56#define DBL_MIN __DBL_MIN__
     57#undef DBL_DIG
     58#define DBL_DIG __DBL_DIG__
     59#undef DBL_EPSILON
     60#define DBL_EPSILON __DBL_EPSILON__
     61#undef LDBL_EPSILON
     62#define LDBL_EPSILON __LDBL_EPSILON__
     63#undef FLT_RADIX
     64#define FLT_RADIX __FLT_RADIX__
     65#undef FLT_MIN
     66#define FLT_MIN __FLT_MIN__
     67#undef FLT_MAX
     68#define FLT_MAX __FLT_MAX__
     69#undef FLT_EPSILON
     70#define FLT_EPSILON __FLT_EPSILON__
     71#undef FLT_MANT_DIG
     72#define FLT_MANT_DIG __FLT_MANT_DIG__
     73#undef LDBL_MIN
     74#define LDBL_MIN __LDBL_MIN__
     75#undef LDBL_MAX
     76#define LDBL_MAX __LDBL_MAX__
     77#undef LDBL_MANT_DIG
     78#define LDBL_MANT_DIG __LDBL_MANT_DIG__
    7979#else
    8080/* For something else than GCC, following definitions are provided.
  • uspace/lib/posix/include/posix/locale.h

    rc832ab15 r5b0cf63  
    3939
    4040#ifndef __locale_t_defined
    41         #define __locale_t_defined
    42         typedef struct __posix_locale *locale_t;
     41#define __locale_t_defined
     42typedef struct __posix_locale *locale_t;
    4343#endif
    4444
  • uspace/lib/posix/include/posix/math.h

    rc832ab15 r5b0cf63  
    4343
    4444#ifdef __GNUC__
    45         #define HUGE_VAL (__builtin_huge_val())
     45#define HUGE_VAL (__builtin_huge_val())
    4646#endif
    4747
  • uspace/lib/posix/include/posix/pthread.h

    rc832ab15 r5b0cf63  
    105105extern int pthread_setspecific(pthread_key_t, const void *);
    106106extern int pthread_key_delete(pthread_key_t);
    107 extern int pthread_key_create(pthread_key_t *, void (*)(void*));
     107extern int pthread_key_create(pthread_key_t *, void (*)(void *));
    108108
    109109#endif
  • uspace/lib/posix/include/posix/sys/mman.h

    rc832ab15 r5b0cf63  
    5656#define PROT_EXEC  AS_AREA_EXEC
    5757
    58 extern void *
    59 mmap(void *start, size_t length, int prot, int flags, int fd,
     58extern void *mmap(void *start, size_t length, int prot, int flags, int fd,
    6059    off_t offset);
    6160extern int munmap(void *start, size_t length);
  • uspace/lib/softint/include/lltype.h

    rc832ab15 r5b0cf63  
    4343
    4444#ifdef __BE__
    45         #define LO 1
    46         #define HI 0
     45#define LO 1
     46#define HI 0
    4747#else
    48         #define LO 0
    49         #define HI 1
     48#define LO 0
     49#define HI 1
    5050#endif
    5151
  • uspace/lib/usbhid/include/usb/hid/hiddescriptor.h

    rc832ab15 r5b0cf63  
    4444
    4545errno_t usb_hid_parse_report_descriptor(usb_hid_report_t *report,
    46                 const uint8_t *data, size_t size);
     46    const uint8_t *data, size_t size);
    4747
    4848void usb_hid_descriptor_print(usb_hid_report_t *report);
     
    5353
    5454errno_t usb_hid_report_append_fields(usb_hid_report_t *report,
    55                 usb_hid_report_item_t *report_item);
     55    usb_hid_report_item_t *report_item);
    5656
    57 usb_hid_report_description_t * usb_hid_report_find_description(
    58                 const usb_hid_report_t *report, uint8_t report_id,
    59                 usb_hid_report_type_t type);
     57usb_hid_report_description_t *usb_hid_report_find_description(
     58    const usb_hid_report_t *report, uint8_t report_id,
     59    usb_hid_report_type_t type);
    6060
    6161int usb_hid_report_parse_tag(uint8_t tag, uint8_t class, const uint8_t *data,
    62                 size_t item_size, usb_hid_report_item_t *report_item,
    63                 usb_hid_report_path_t *usage_path);
     62    size_t item_size, usb_hid_report_item_t *report_item,
     63    usb_hid_report_path_t *usage_path);
    6464
    65 int usb_hid_report_parse_main_tag(uint8_t tag, const uint8_t *data, 
    66                 size_t item_size, usb_hid_report_item_t *report_item,
    67                 usb_hid_report_path_t *usage_path);
     65int usb_hid_report_parse_main_tag(uint8_t tag, const uint8_t *data,
     66    size_t item_size, usb_hid_report_item_t *report_item,
     67    usb_hid_report_path_t *usage_path);
    6868
    69 int usb_hid_report_parse_global_tag(uint8_t tag, const uint8_t *data, 
    70                 size_t item_size, usb_hid_report_item_t *report_item,
    71                 usb_hid_report_path_t *usage_path);
     69int usb_hid_report_parse_global_tag(uint8_t tag, const uint8_t *data,
     70    size_t item_size, usb_hid_report_item_t *report_item,
     71    usb_hid_report_path_t *usage_path);
    7272
    73 int usb_hid_report_parse_local_tag(uint8_t tag, const uint8_t *data, 
    74                 size_t item_size, usb_hid_report_item_t *report_item,
    75                 usb_hid_report_path_t *usage_path);
     73int usb_hid_report_parse_local_tag(uint8_t tag, const uint8_t *data,
     74    size_t item_size, usb_hid_report_item_t *report_item,
     75    usb_hid_report_path_t *usage_path);
    7676
    7777void usb_hid_descriptor_print_list(list_t *list);
     
    8080
    8181usb_hid_report_item_t *usb_hid_report_item_clone(
    82                 const usb_hid_report_item_t *item);
     82    const usb_hid_report_item_t *item);
    8383
    8484uint32_t usb_hid_report_tag_data_uint32(const uint8_t *data, size_t size);
    8585
    86 usb_hid_report_path_t *usb_hid_report_path_try_insert(usb_hid_report_t*report,
    87                 usb_hid_report_path_t *cmp_path);
     86usb_hid_report_path_t *usb_hid_report_path_try_insert(usb_hid_report_t *report,
     87    usb_hid_report_path_t *cmp_path);
    8888
    8989
  • uspace/lib/usbhid/include/usb/hid/hidparser.h

    rc832ab15 r5b0cf63  
    4848 */
    4949errno_t usb_hid_parse_report(const usb_hid_report_t *report, const uint8_t *data,
    50                 size_t size, uint8_t *report_id);
     50    size_t size, uint8_t *report_id);
    5151
    5252/*
    5353 * Output report parser functions
    5454 */
    55 uint8_t *usb_hid_report_output(usb_hid_report_t *report, size_t *size, 
    56                 uint8_t report_id);
     55uint8_t *usb_hid_report_output(usb_hid_report_t *report, size_t *size,
     56    uint8_t report_id);
    5757
    5858void usb_hid_report_output_free(uint8_t *output);
    5959
    6060size_t usb_hid_report_size(usb_hid_report_t *report, uint8_t report_id,
    61                 usb_hid_report_type_t type);
     61    usb_hid_report_type_t type);
    6262
    6363size_t usb_hid_report_byte_size(usb_hid_report_t *report, uint8_t report_id,
    64                 usb_hid_report_type_t type);
     64    usb_hid_report_type_t type);
    6565
    6666
    67 errno_t usb_hid_report_output_translate(usb_hid_report_t *report, 
    68                 uint8_t report_id, uint8_t *buffer, size_t size);
     67errno_t usb_hid_report_output_translate(usb_hid_report_t *report,
     68    uint8_t report_id, uint8_t *buffer, size_t size);
    6969
    7070
     
    7373 */
    7474usb_hid_report_field_t *usb_hid_report_get_sibling(usb_hid_report_t *report,
    75                 usb_hid_report_field_t *field, usb_hid_report_path_t *path,
    76                 int flags, usb_hid_report_type_t type);
     75    usb_hid_report_field_t *field, usb_hid_report_path_t *path,
     76    int flags, usb_hid_report_type_t type);
    7777
    78 uint8_t usb_hid_get_next_report_id(usb_hid_report_t *report, 
    79                 uint8_t report_id, usb_hid_report_type_t type);
     78uint8_t usb_hid_get_next_report_id(usb_hid_report_t *report,
     79    uint8_t report_id, usb_hid_report_type_t type);
    8080
    8181#endif
  • uspace/lib/usbhid/include/usb/hid/hidpath.h

    rc832ab15 r5b0cf63  
    8383        /** Usage page of report item. Zero when usage page can be changed. */
    8484        uint32_t usage_page;
    85         /** Usage of report item. Zero when usage can be changed. */   
     85        /** Usage of report item. Zero when usage can be changed. */
    8686        uint32_t usage;
    8787
     
    119119
    120120errno_t usb_hid_report_path_set_report_id(usb_hid_report_path_t *usage_path,
    121                 uint8_t report_id);
     121    uint8_t report_id);
    122122
    123 errno_t usb_hid_report_path_append_item(usb_hid_report_path_t *usage_path, 
    124                 int32_t usage_page, int32_t usage);
     123errno_t usb_hid_report_path_append_item(usb_hid_report_path_t *usage_path,
     124    int32_t usage_page, int32_t usage);
    125125
    126126void usb_hid_report_remove_last_item(usb_hid_report_path_t *usage_path);
     
    128128void usb_hid_report_null_last_item(usb_hid_report_path_t *usage_path);
    129129
    130 void usb_hid_report_set_last_item(usb_hid_report_path_t *usage_path, 
    131                 int32_t tag, int32_t data);
     130void usb_hid_report_set_last_item(usb_hid_report_path_t *usage_path,
     131    int32_t tag, int32_t data);
    132132
    133133int usb_hid_report_compare_usage_path(usb_hid_report_path_t *report_path,
    134                 usb_hid_report_path_t *path, int flags);
     134    usb_hid_report_path_t *path, int flags);
    135135
    136136usb_hid_report_path_t *usb_hid_report_path_clone(
    137                 usb_hid_report_path_t *usage_path);
     137    usb_hid_report_path_t *usage_path);
    138138
    139139void usb_hid_print_usage_path(usb_hid_report_path_t *path);
  • uspace/lib/usbhid/include/usb/hid/hidreport.h

    rc832ab15 r5b0cf63  
    5858 *         usb_pipe_end_session() or usb_request_get_descriptor().
    5959 */
    60 errno_t usb_hid_process_report_descriptor(usb_device_t *dev, 
     60errno_t usb_hid_process_report_descriptor(usb_device_t *dev,
    6161    usb_hid_report_t *report, uint8_t **report_desc, size_t *report_size);
    6262
  • uspace/lib/usbhid/include/usb/hid/request.h

    rc832ab15 r5b0cf63  
    4747    usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size);
    4848
    49 errno_t usbhid_req_set_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 
     49errno_t usbhid_req_set_protocol(usb_pipe_t *ctrl_pipe, int iface_no,
    5050    usb_hid_protocol_t protocol);
    5151
    5252errno_t usbhid_req_set_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t duration);
    5353
    54 errno_t usbhid_req_get_report(usb_pipe_t *ctrl_pipe, int iface_no, 
    55     usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size, 
     54errno_t usbhid_req_get_report(usb_pipe_t *ctrl_pipe, int iface_no,
     55    usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size,
    5656    size_t *actual_size);
    5757
    58 errno_t usbhid_req_get_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 
     58errno_t usbhid_req_get_protocol(usb_pipe_t *ctrl_pipe, int iface_no,
    5959    usb_hid_protocol_t *protocol);
    6060
  • uspace/lib/usbhost/include/usb/host/usb_bus.h

    rc832ab15 r5b0cf63  
    9292errno_t usb_bus_unregister_ep(usb_bus_t *instance, endpoint_t *ep);
    9393
    94 endpoint_t * usb_bus_find_ep(usb_bus_t *instance,
     94endpoint_t *usb_bus_find_ep(usb_bus_t *instance,
    9595    usb_address_t address, usb_endpoint_t ep, usb_direction_t direction);
    9696
  • uspace/srv/audio/hound/hound.h

    rc832ab15 r5b0cf63  
    7070hound_ctx_t *hound_get_ctx_by_id(hound_t *hound, hound_context_id_t id);
    7171
    72 errno_t hound_add_device(hound_t *hound, service_id_t id, const char* name);
     72errno_t hound_add_device(hound_t *hound, service_id_t id, const char *name);
    7373errno_t hound_add_source(hound_t *hound, audio_source_t *source);
    7474errno_t hound_add_sink(hound_t *hound, audio_sink_t *sink);
     
    7979errno_t hound_remove_source(hound_t *hound, audio_source_t *source);
    8080errno_t hound_remove_sink(hound_t *hound, audio_sink_t *sink);
    81 errno_t hound_connect(hound_t *hound, const char* source_name, const char* sink_name);
    82 errno_t hound_disconnect(hound_t *hound, const char* source_name, const char* sink_name);
     81errno_t hound_connect(hound_t *hound, const char *source_name, const char *sink_name);
     82errno_t hound_disconnect(hound_t *hound, const char *source_name, const char *sink_name);
    8383
    8484#endif
  • uspace/srv/audio/hound/hound_ctx.h

    rc832ab15 r5b0cf63  
    6969
    7070hound_ctx_stream_t *hound_ctx_create_stream(hound_ctx_t *ctx, int flags,
    71         pcm_format_t format, size_t buffer_size);
     71    pcm_format_t format, size_t buffer_size);
    7272void hound_ctx_destroy_stream(hound_ctx_stream_t *stream);
    7373
  • uspace/srv/bd/vbd/disk.h

    rc832ab15 r5b0cf63  
    5252extern errno_t vbds_label_delete(service_id_t);
    5353extern errno_t vbds_part_get_info(vbds_part_id_t, vbd_part_info_t *);
    54 extern errno_t vbds_part_create(service_id_t, vbd_part_spec_t *,vbds_part_id_t *);
     54extern errno_t vbds_part_create(service_id_t, vbd_part_spec_t *, vbds_part_id_t *);
    5555extern errno_t vbds_part_delete(vbds_part_id_t);
    5656extern errno_t vbds_suggest_ptype(service_id_t, label_pcnt_t, label_ptype_t *);
  • uspace/srv/fs/exfat/exfat_bitmap.h

    rc832ab15 r5b0cf63  
    4242struct exfat_bs;
    4343
    44 extern errno_t exfat_bitmap_alloc_clusters(struct exfat_bs *, service_id_t, 
     44extern errno_t exfat_bitmap_alloc_clusters(struct exfat_bs *, service_id_t,
    4545    exfat_cluster_t *, exfat_cluster_t);
    46 extern errno_t exfat_bitmap_append_clusters(struct exfat_bs *, struct exfat_node *, 
     46extern errno_t exfat_bitmap_append_clusters(struct exfat_bs *, struct exfat_node *,
    4747    exfat_cluster_t);
    48 extern errno_t exfat_bitmap_free_clusters(struct exfat_bs *, struct exfat_node *, 
     48extern errno_t exfat_bitmap_free_clusters(struct exfat_bs *, struct exfat_node *,
    4949    exfat_cluster_t);
    50 extern errno_t exfat_bitmap_replicate_clusters(struct exfat_bs *, struct exfat_node *); 
     50extern errno_t exfat_bitmap_replicate_clusters(struct exfat_bs *, struct exfat_node *);
    5151
    5252extern errno_t exfat_bitmap_is_free(struct exfat_bs *, service_id_t, exfat_cluster_t);
    5353extern errno_t exfat_bitmap_set_cluster(struct exfat_bs *, service_id_t, exfat_cluster_t);
    54 extern errno_t exfat_bitmap_clear_cluster(struct exfat_bs *, service_id_t, 
     54extern errno_t exfat_bitmap_clear_cluster(struct exfat_bs *, service_id_t,
    5555    exfat_cluster_t);
    5656
    57 extern errno_t exfat_bitmap_set_clusters(struct exfat_bs *, service_id_t, 
     57extern errno_t exfat_bitmap_set_clusters(struct exfat_bs *, service_id_t,
    5858    exfat_cluster_t, exfat_cluster_t);
    59 extern errno_t exfat_bitmap_clear_clusters(struct exfat_bs *, service_id_t, 
     59extern errno_t exfat_bitmap_clear_clusters(struct exfat_bs *, service_id_t,
    6060    exfat_cluster_t, exfat_cluster_t);
    6161
  • uspace/srv/fs/exfat/exfat_directory.h

    rc832ab15 r5b0cf63  
    2929/** @addtogroup fs
    3030 * @{
    31  */ 
     31 */
    3232
    3333#ifndef EXFAT_EXFAT_DIRECTORY_H_
     
    6666extern errno_t exfat_directory_find(exfat_directory_t *, exfat_dentry_clsf_t,
    6767    exfat_dentry_t **);
    68 extern errno_t exfat_directory_find_continue(exfat_directory_t *, 
     68extern errno_t exfat_directory_find_continue(exfat_directory_t *,
    6969    exfat_dentry_clsf_t, exfat_dentry_t **);
    7070
  • uspace/srv/fs/exfat/exfat_fat.h

    rc832ab15 r5b0cf63  
    6161    exfat_cluster_walk((bs), (sid), (fc), NULL, (numc), (uint32_t) -1)
    6262
    63 extern errno_t exfat_cluster_walk(struct exfat_bs *, service_id_t, 
     63extern errno_t exfat_cluster_walk(struct exfat_bs *, service_id_t,
    6464    exfat_cluster_t, exfat_cluster_t *, uint32_t *, uint32_t);
    6565extern errno_t exfat_block_get(block_t **, struct exfat_bs *, struct exfat_node *,
  • uspace/srv/fs/fat/fat_directory.h

    rc832ab15 r5b0cf63  
    2929/** @addtogroup fs
    3030 * @{
    31  */ 
     31 */
    3232
    3333#ifndef FAT_FAT_DIRECTORY_H_
  • uspace/srv/fs/locfs/locfs.h

    rc832ab15 r5b0cf63  
    2929/** @addtogroup fs
    3030 * @{
    31  */ 
     31 */
    3232
    3333#ifndef LOCFS_LOCFS_H_
  • uspace/srv/hid/isdv4_tablet/isdv4.h

    rc832ab15 r5b0cf63  
    7474
    7575typedef enum {
    76         UNKNOWN, PRESS, RELEASE, PROXIMITY_IN, PROXIMITY_OUT, MOVE
     76        UNKNOWN,
     77        PRESS,
     78        RELEASE,
     79        PROXIMITY_IN,
     80        PROXIMITY_OUT,
     81        MOVE
    7782} isdv4_event_type_t;
    7883
    7984typedef enum {
    80         STYLUS_TIP, STYLUS_ERASER, TOUCH
     85        STYLUS_TIP,
     86        STYLUS_ERASER,
     87        TOUCH
    8188} isdv4_source_type_t;
    8289
  • uspace/srv/hid/output/output.h

    rc832ab15 r5b0cf63  
    4242
    4343typedef struct {
    44         errno_t (* yield)(struct outdev *dev);
    45         errno_t (* claim)(struct outdev *dev);
     44        errno_t (*yield)(struct outdev *dev);
     45        errno_t (*claim)(struct outdev *dev);
    4646       
    47         void (* get_dimensions)(struct outdev *dev, sysarg_t *cols,
     47        void (*get_dimensions)(struct outdev *dev, sysarg_t *cols,
    4848            sysarg_t *rows);
    49         console_caps_t (* get_caps)(struct outdev *dev);
     49        console_caps_t (*get_caps)(struct outdev *dev);
    5050       
    51         void (* cursor_update)(struct outdev *dev, sysarg_t prev_col,
     51        void (*cursor_update)(struct outdev *dev, sysarg_t prev_col,
    5252            sysarg_t prev_row, sysarg_t col, sysarg_t row, bool visible);
    53         void (* char_update)(struct outdev *dev, sysarg_t col, sysarg_t row);
    54         void (* flush)(struct outdev *dev);
     53        void (*char_update)(struct outdev *dev, sysarg_t col, sysarg_t row);
     54        void (*flush)(struct outdev *dev);
    5555} outdev_ops_t;
    5656
  • uspace/srv/hid/output/proto/vt100.h

    rc832ab15 r5b0cf63  
    3535#include <io/charfield.h>
    3636
    37 typedef void (* vt100_putchar_t)(wchar_t ch);
    38 typedef void (* vt100_control_puts_t)(const char *str);
    39 typedef void (* vt100_flush_t)(void);
     37typedef void (*vt100_putchar_t)(wchar_t ch);
     38typedef void (*vt100_control_puts_t)(const char *str);
     39typedef void (*vt100_flush_t)(void);
    4040
    4141typedef struct {
Note: See TracChangeset for help on using the changeset viewer.