Changeset e7f7c93 in mainline


Ignore:
Timestamp:
2011-06-18T01:49:11Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
14aa03a
Parents:
ad28599
Message:

Reverted changes causing circular dependencies in types.h.

Location:
uspace/lib/posix/sys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/sys/stat.h

    rad28599 re7f7c93  
    4040#include "types.h"
    4141#include "../time.h"
     42#include <ipc/devmap.h>
     43#include <task.h>
     44
     45typedef devmap_handle_t posix_dev_t;
     46typedef task_id_t posix_pid_t;
    4247
    4348/* values are the same as on Linux */
     
    134139
    135140#ifndef LIBPOSIX_INTERNAL
     141        #define dev_t posix_dev_t
     142        #define pid_t posix_pid_t
    136143        #define fstat posix_fstat
    137144        #define lstat posix_lstat
  • uspace/lib/posix/sys/types.h

    rad28599 re7f7c93  
    3838
    3939#include "../libc/sys/types.h"
    40 #include <ipc/devmap.h>
    41 #include <task.h>
    4240
    43 typedef task_id_t posix_pid_t;
    44 typedef devmap_handle_t posix_dev_t;
    4541typedef unsigned int posix_ino_t;
    4642typedef unsigned int posix_nlink_t;
     
    5248
    5349#ifndef LIBPOSIX_INTERNAL
    54         #define pid_t posix_pid_t
    55         #define dev_t posix_dev_t
    5650        #define nlink_t posix_nlink_t
    5751        #define uid_t posix_uid_t
Note: See TracChangeset for help on using the changeset viewer.