Changeset 7f9df7b9 in mainline for uspace/lib/posix/src/fcntl.c


Ignore:
Timestamp:
2018-01-22T22:42:57Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7a08c70
Parents:
e0f47f5
Message:

Remove unnecessary symbol renaming from libposix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/fcntl.c

    re0f47f5 r7f9df7b9  
    3333 */
    3434
    35 #define LIBPOSIX_INTERNAL
    36 #define __POSIX_DEF__(x) posix_##x
    37 
    3835#include "internal/common.h"
    3936#include "posix/fcntl.h"
     
    5148 *     to the requested operation.
    5249 */
    53 int posix_fcntl(int fd, int cmd, ...)
     50int fcntl(int fd, int cmd, ...)
    5451{
    5552        int flags;
     
    10299 * @param posix_flags Access mode flags.
    103100 */
    104 int posix_open(const char *pathname, int posix_flags, ...)
     101int open(const char *pathname, int posix_flags, ...)
    105102{
    106         posix_mode_t posix_mode = 0;
     103        mode_t posix_mode = 0;
    107104        if (posix_flags & O_CREAT) {
    108105                va_list args;
    109106                va_start(args, posix_flags);
    110                 posix_mode = va_arg(args, posix_mode_t);
     107                posix_mode = va_arg(args, mode_t);
    111108                va_end(args);
    112109                (void) posix_mode;
Note: See TracChangeset for help on using the changeset viewer.