Changeset f3b4051 in mainline


Ignore:
Timestamp:
2010-10-13T21:17:50Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
753bca3
Parents:
85124a9
Message:

Find the ultimate home for useconds_t and mseconds_t.

Location:
uspace/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/sys/time.h

    r85124a9 rf3b4051  
    4343typedef long suseconds_t;
    4444
     45typedef uint32_t useconds_t;
     46typedef uint32_t mseconds_t;
     47
    4548struct timeval {
    4649        time_t tv_sec;        /* seconds */
  • uspace/lib/c/include/unistd.h

    r85124a9 rf3b4051  
    3737
    3838#include <sys/types.h>
     39#include <time.h>
    3940#include <libarch/config.h>
    4041
     
    5657        #define SEEK_END  2
    5758#endif
    58 
    59 typedef uint32_t useconds_t;
    60 typedef uint32_t mseconds_t;
    6159
    6260extern int dup2(int oldfd, int newfd);
  • uspace/lib/socket/include/icmp_api.h

    r85124a9 rf3b4051  
    4141#include <net/inet.h>
    4242#include <sys/types.h>
    43 #include <unistd.h>
     43#include <sys/time.h>
    4444
    4545#include <net_device.h>
Note: See TracChangeset for help on using the changeset viewer.