Ignore:
Timestamp:
2017-04-04T20:35:43Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
59f388a
Parents:
a6fc88a
Message:

Remove mode_t from libc

File:
1 edited

Legend:

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

    ra6fc88a r8fe46a0  
    115115        __POSIX_DEF__(dev_t)     st_dev;     /* ID of device containing file */
    116116        __POSIX_DEF__(ino_t)     st_ino;     /* inode number */
    117         mode_t          st_mode;    /* protection */
     117        __POSIX_DEF__(mode_t)    st_mode;    /* protection */
    118118        __POSIX_DEF__(nlink_t)   st_nlink;   /* number of hard links */
    119119        __POSIX_DEF__(uid_t)     st_uid;     /* user ID of owner */
     
    131131extern int __POSIX_DEF__(lstat)(const char *restrict path, struct __POSIX_DEF__(stat) *restrict st);
    132132extern int __POSIX_DEF__(stat)(const char *restrict path, struct __POSIX_DEF__(stat) *restrict st);
    133 extern int __POSIX_DEF__(chmod)(const char *path, mode_t mode);
    134 extern mode_t __POSIX_DEF__(umask)(mode_t mask);
    135 extern int __POSIX_DEF__(mkdir)(const char *path, mode_t mode);
     133extern int __POSIX_DEF__(chmod)(const char *path, __POSIX_DEF__(mode_t) mode);
     134extern __POSIX_DEF__(mode_t) __POSIX_DEF__(umask)(__POSIX_DEF__(mode_t) mask);
     135extern int __POSIX_DEF__(mkdir)(const char *path, __POSIX_DEF__(mode_t) mode);
    136136
    137137
Note: See TracChangeset for help on using the changeset viewer.