Changeset 76d0981d in mainline for uspace/srv/hid/input/gsp.c


Ignore:
Timestamp:
2018-04-12T12:57:20Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3bacee1
Parents:
9c514be
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 18:18:43)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 12:57:20)
Message:

Use proper boolean constant in while loops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/gsp.c

    r9c514be r76d0981d  
    5151#include <adt/hash_table.h>
    5252#include <adt/hash.h>
     53#include <stdbool.h>
    5354#include <stdlib.h>
    5455#include <stdio.h>
     
    119120        dp = defs;
    120121
    121         while (1) {
     122        while (true) {
    122123                /* Read the output values. */
    123124                mods = *dp++;
Note: See TracChangeset for help on using the changeset viewer.