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/audio/hound/audio_device.c

    r9c514be r76d0981d  
    4040#include <inttypes.h>
    4141#include <loc.h>
     42#include <stdbool.h>
    4243#include <str.h>
    4344#include <str_error.h>
     
    271272        audio_device_t *dev = arg;
    272273        assert(dev);
    273         while (1) {
     274        while (true) {
    274275                ipc_call_t call;
    275276                cap_call_handle_t chandle = async_get_call(&call);
Note: See TracChangeset for help on using the changeset viewer.