Changeset 3bacee1 in mainline for uspace/lib/c/include


Ignore:
Timestamp:
2018-04-12T16:27:17Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

Location:
uspace/lib/c/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/adt/hash.h

    r76d0981d r3bacee1  
    106106         * http://burtleburtle.net/bob/c/lookup3.c
    107107         */
    108         seed ^= hash + 0x9e3779b9
    109                 + ((seed << 5) | (seed >> (sizeof(size_t) * 8 - 5)));
     108        seed ^= hash + 0x9e3779b9 +
     109            ((seed << 5) | (seed >> (sizeof(size_t) * 8 - 5)));
    110110        return seed;
    111111}
  • uspace/lib/c/include/io/charfield.h

    r76d0981d r3bacee1  
    9191                return (a1.val.style == a2.val.style);
    9292        case CHAR_ATTR_INDEX:
    93                 return (a1.val.index.bgcolor == a2.val.index.bgcolor)
    94                     && (a1.val.index.fgcolor == a2.val.index.fgcolor)
    95                     && (a1.val.index.attr == a2.val.index.attr);
     93                return (a1.val.index.bgcolor == a2.val.index.bgcolor) &&
     94                    (a1.val.index.fgcolor == a2.val.index.fgcolor) &&
     95                    (a1.val.index.attr == a2.val.index.attr);
    9696        case CHAR_ATTR_RGB:
    97                 return (a1.val.rgb.bgcolor == a2.val.rgb.bgcolor)
    98                     && (a1.val.rgb.fgcolor == a2.val.rgb.fgcolor);
     97                return (a1.val.rgb.bgcolor == a2.val.rgb.bgcolor) &&
     98                    (a1.val.rgb.fgcolor == a2.val.rgb.fgcolor);
    9999        }
    100100
Note: See TracChangeset for help on using the changeset viewer.