Changeset 9b8be79 in mainline for uspace/lib/posix/src/sys


Ignore:
Timestamp:
2018-09-18T14:50:22Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
460ea7e
Parents:
7570a95f
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-14 17:49:49)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-18 14:50:22)
Message:

libposix: Change header organization and remove passthrough headers

Posix headers now function like an overlay. The system include directories
are searched after posix directories. The headers don't need to be patched
for export now. libposix files now include headers using bracket notation
instead of quoted notation.

Location:
uspace/lib/posix/src/sys
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/sys/mman.c

    r7570a95f r9b8be79  
    3434
    3535#include "../internal/common.h"
    36 #include <posix/sys/mman.h>
    37 #include <posix/sys/types.h>
    38 #include <libc/as.h>
    39 #include <posix/unistd.h>
     36#include <sys/mman.h>
     37#include <sys/types.h>
     38#include <as.h>
     39#include <unistd.h>
    4040
    4141void *mmap(void *start, size_t length, int prot, int flags, int fd,
  • uspace/lib/posix/src/sys/stat.c

    r7570a95f r9b8be79  
    3535
    3636#include "../internal/common.h"
    37 #include "posix/sys/stat.h"
    38 #include "libc/vfs/vfs.h"
     37#include <sys/stat.h>
     38#include <vfs/vfs.h>
    3939
    4040#include <errno.h>
    41 #include "libc/mem.h"
     41#include <mem.h>
    4242
    4343/**
  • uspace/lib/posix/src/sys/wait.c

    r7570a95f r9b8be79  
    3535
    3636#include "../internal/common.h"
    37 #include "posix/sys/wait.h"
     37#include <sys/wait.h>
    3838
    39 #include "libc/task.h"
     39#include <task.h>
    4040#include <assert.h>
    4141
    4242#include <errno.h>
    4343
    44 #include "posix/limits.h"
    45 #include "posix/signal.h"
     44#include <limits.h>
     45#include <signal.h>
    4646
    4747int __posix_wifexited(int status)
Note: See TracChangeset for help on using the changeset viewer.