Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/include/posix/fcntl.h

    rca4c6ec1 rfdf97f6  
    3636#define POSIX_FCNTL_H_
    3737
     38#ifndef __POSIX_DEF__
     39#define __POSIX_DEF__(x) x
     40#endif
     41
    3842#include "sys/types.h"
    3943#include "libc/fcntl.h"
     
    7276#define FD_CLOEXEC         1 /* Close on exec. */
    7377
    74 extern int posix_open(const char *pathname, int flags, ...);
    75 extern int posix_fcntl(int fd, int cmd, ...);
     78extern int __POSIX_DEF__(open)(const char *pathname, int flags, ...);
     79extern int __POSIX_DEF__(fcntl)(int fd, int cmd, ...);
    7680
    77 #ifndef LIBPOSIX_INTERNAL
    78         #define fcntl posix_fcntl
    79         #define open posix_open
    80 #endif
    8181
    8282#endif /* POSIX_FCNTL_H_ */
Note: See TracChangeset for help on using the changeset viewer.