Changeset e8975278 in mainline for uspace/app


Ignore:
Timestamp:
2018-05-10T15:14:02Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1420cae9
Parents:
ae7d03c
git-author:
Jiri Svoboda <jiri@…> (2018-05-10 07:53:56)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-10 15:14:02)
Message:

A few more cstyle fixes.

Location:
uspace/app
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/bigint.c

    rae7d03c re8975278  
    202202
    203203        if (bigint->negative)
    204                 val = - val;
     204                val = -val;
    205205
    206206        /* If the value did not fit @c val now contains garbage. Verify. */
     
    368368{
    369369        static const char digits[] = { '0', '1', '2', '3', '4', '5', '6',
    370             '7', '8', '9' };
     370                '7', '8', '9' };
    371371
    372372        bigint_t val, tmp;
     
    632632                db = b;
    633633
    634                 tmp = (da * db) + (bigint_word_t) carry;
     634                tmp = da * db + (bigint_word_t) carry;
    635635
    636636                carry = (bigint_word_t) (tmp / BIGINT_BASE);
  • uspace/app/usbinfo/info.c

    rae7d03c re8975278  
    269269        }
    270270
    271         /*printf("Found string in %s->%s: %zu\n",
    272             #descr_struct, #descr_item, __str_index); */
    273271#define SET_STRING_INDEX(descr, mask, descr_type, descr_struct, descr_item) \
    274272        do { \
  • uspace/app/vuhid/hids/logitech_wireless.c

    rae7d03c re8975278  
    5858#define iface1_input_size 8
    5959static uint8_t iface1_in_data[] = {
    60                 /*0, 0, 0, 0, 0, 0, 0, 0,
    61                 0, 9, 0, 0, 0, 0, 0, 0,
    62                 0, 0, 9, 0, 0, 0, 0, 0,
    63                 0, 9, 9, 0, 0, 0, 0, 0,*/
    64                 0, 0, 0, 0, 0, 0, 0, 0
     60        0, 0, 0, 0, 0, 0, 0, 0
    6561};
    6662
    6763static vuhid_interface_life_t iface1_life = {
    6864        .data_in = iface1_in_data,
    69         .data_in_count = sizeof(iface1_in_data)/iface1_input_size,
     65        .data_in_count = sizeof(iface1_in_data) / iface1_input_size,
    7066        .data_in_pos_change_delay = 50,
    7167        .msg_born = "Mouse of Logitech Unifying Receiver comes to life...",
Note: See TracChangeset for help on using the changeset viewer.