Ignore:
Timestamp:
2017-05-08T19:20:39Z (8 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/dist/src/c/demos/tetris/tetris.c

    r73db198 r582a0b8  
    5151 */
    5252
    53 static const char copyright[] =
     53static volatile const char copyright[] =
    5454        "@(#) Copyright (c) 1992, 1993\n"
    5555        "\tThe Regents of the University of California.  All rights reserved.\n";
     
    6161#include <stdio.h>
    6262#include <stdlib.h>
     63#include <stdint.h>
    6364#include <str.h>
    64 #include <unistd.h>
    6565#include <getopt.h>
    6666#include "scores.h"
Note: See TracChangeset for help on using the changeset viewer.