Changeset 582a0b8 in mainline for uspace/srv/hid/isdv4_tablet/isdv4.c


Ignore:
Timestamp:
2017-05-08T19:20:39Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d2c8533
Parents:
73db198
Message:

Remove unistd.h

  • Rename usleep() and sleep() to thread_usleep() and thread_sleep() and move to thread.[hc].
  • Include stddef.h in order to provide NULL.
  • Move getpagesize() to libposix.
  • Sync uspace/dist/src/c/demos with originals.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/isdv4_tablet/isdv4.c

    r73db198 r582a0b8  
    3131#include <stdlib.h>
    3232#include <mem.h>
     33#include <thread.h>
    3334
    3435#include "isdv4.h"
     
    377378                return EIO;
    378379
    379         usleep(250000); /* 250 ms */
     380        thread_usleep(250000); /* 250 ms */
    380381
    381382        // FIXME: Read all possible garbage before sending commands
Note: See TracChangeset for help on using the changeset viewer.