Changeset 5d4e90f0 in mainline for uspace/lib/libc/include/sys/mman.h


Ignore:
Timestamp:
2007-09-27T12:35:36Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bcf23cf
Parents:
8c20b26
Message:

Header cleanup.
Move off_t, size_t and ssize_t into sys/types.h.
Get rid off the non-standard and dummy types.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/sys/mman.h

    r8c20b26 r5d4e90f0  
    3737
    3838#include <as.h>
     39#include <sys/types.h>
    3940
    4041#define MAP_FAILED  ((void *) -1)
     
    4950#define PROTO_EXEC   AS_AREA_EXEC
    5051
    51 extern void  *mmap(void  *start, size_t length, int prot, int flags, int fd,
    52                    off_t offset);
     52extern void *mmap(void  *start, size_t length, int prot, int flags, int fd,
     53    off_t offset);
    5354extern int munmap(void *start, size_t length);
    5455
Note: See TracChangeset for help on using the changeset viewer.