Convert leading tabs to spaces to match existing formatting.
This commit is contained in:
Родитель
354ced3713
Коммит
f39bc8756b
|
@ -28,17 +28,17 @@
|
|||
|
||||
extern in_addr_t inet_addr (const char *__cp : itype(_Nt_array_ptr<const char>)) __THROW;
|
||||
extern int inet_aton(const char *cp : itype(_Nt_array_ptr<const char>),
|
||||
struct in_addr *inp : itype(_Ptr<struct in_addr>));
|
||||
struct in_addr *inp : itype(_Ptr<struct in_addr>));
|
||||
|
||||
extern char *inet_ntoa(struct in_addr) : itype(_Nt_array_ptr<char>);
|
||||
_Unchecked
|
||||
extern const char *inet_ntop(int af, const void *restrict src,
|
||||
char *restrict : itype(restrict _Array_ptr<char>) byte_count(size),
|
||||
socklen_t size) : itype(_Nt_array_ptr<const char>);
|
||||
char *restrict : itype(restrict _Array_ptr<char>) byte_count(size),
|
||||
socklen_t size) : itype(_Nt_array_ptr<const char>);
|
||||
_Unchecked
|
||||
extern int inet_pton(int af,
|
||||
const char *restrict src : itype(restrict _Nt_array_ptr<const char>),
|
||||
void *restrict dst);
|
||||
const char *restrict src : itype(restrict _Nt_array_ptr<const char>),
|
||||
void *restrict dst);
|
||||
|
||||
#pragma CHECKED_SCOPE pop
|
||||
|
||||
|
|
|
@ -32,13 +32,13 @@ _ACRTIMP void __cdecl _wassert(_In_z_ wchar_t const *_Message : itype(_Nt_array_
|
|||
#ifdef __APPLE__
|
||||
#define __THROW
|
||||
extern void __assert_rtn(const char *msg : itype(_Nt_array_ptr<const char>),
|
||||
const char *file : itype(_Nt_array_ptr<const char>),
|
||||
int line,
|
||||
const char *fn : itype(const char _Nt_checked[]));
|
||||
const char *file : itype(_Nt_array_ptr<const char>),
|
||||
int line,
|
||||
const char *fn : itype(const char _Nt_checked[]));
|
||||
#else
|
||||
extern void __assert(const char *msg : itype(_Nt_array_ptr<const char>),
|
||||
const char *file : itype(_Nt_array_ptr<const char>),
|
||||
int line);
|
||||
const char *file : itype(_Nt_array_ptr<const char>),
|
||||
int line);
|
||||
#endif
|
||||
|
||||
#undef __assert_fail
|
||||
|
|
|
@ -28,16 +28,16 @@
|
|||
struct passwd *getpwnam(const char *user : itype(_Nt_array_ptr<const char>)) : itype(_Ptr<struct passwd>);
|
||||
_Unchecked
|
||||
int getpwnam_r(const char *user : itype(_Nt_array_ptr<const char>),
|
||||
struct passwd *pwd : itype(_Ptr<struct passwd>),
|
||||
char *buf : byte_count(bufsize),
|
||||
size_t bufsize, struct passwd **result : itype(_Ptr<_Ptr<struct passwd>>));
|
||||
struct passwd *pwd : itype(_Ptr<struct passwd>),
|
||||
char *buf : byte_count(bufsize),
|
||||
size_t bufsize, struct passwd **result : itype(_Ptr<_Ptr<struct passwd>>));
|
||||
|
||||
struct passwd *getpwuid(uid_t uid) : itype(_Ptr<struct passwd>);
|
||||
_Unchecked
|
||||
int getpwuid_r(uid_t uid,
|
||||
struct passwd *pwd : itype(_Ptr<struct passwd>),
|
||||
char *buf : byte_count(bufsize),
|
||||
size_t bufsize, struct passwd **result : itype(_Ptr<_Ptr<struct passwd>>));
|
||||
struct passwd *pwd : itype(_Ptr<struct passwd>),
|
||||
char *buf : byte_count(bufsize),
|
||||
size_t bufsize, struct passwd **result : itype(_Ptr<_Ptr<struct passwd>>));
|
||||
|
||||
#pragma CHECKED_SCOPE pop
|
||||
|
||||
|
|
|
@ -26,9 +26,9 @@ extern int mkdir(const char *pathname : itype(_Nt_array_ptr<const char>), mode_t
|
|||
extern int chmod(const char *pathname : itype(_Nt_array_ptr<const char>), mode_t mode);
|
||||
extern int fstat(int fd, struct stat *buf : itype(_Ptr<struct stat>));
|
||||
extern int lstat(const char *restrict file : itype(restrict _Nt_array_ptr<const char>),
|
||||
struct stat *restrict buf : itype(restrict _Ptr<struct stat>));
|
||||
struct stat *restrict buf : itype(restrict _Ptr<struct stat>));
|
||||
extern int stat(const char *restrict file : itype(restrict _Nt_array_ptr<const char>),
|
||||
struct stat *restrict buf : itype(restrict _Ptr<struct stat>));
|
||||
struct stat *restrict buf : itype(restrict _Ptr<struct stat>));
|
||||
|
||||
// int fchmod(int, mode_t) and mode_t umask(mode_t) inherited from system header
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ extern char *get_current_dir_name(void) : itype(_Nt_array_ptr<char>);
|
|||
extern int rmdir(const char *pathname : itype(_Nt_array_ptr<const char>));
|
||||
extern int chdir(const char *p_dirname : itype(_Nt_array_ptr<const char>));
|
||||
extern ssize_t readlink (const char *restrict path : itype(restrict _Nt_array_ptr<const char>),
|
||||
char *restrict buf : itype(restrict _Nt_array_ptr<char>), size_t len);
|
||||
char *restrict buf : itype(restrict _Nt_array_ptr<char>), size_t len);
|
||||
extern int chroot(const char *dirname : itype(_Nt_array_ptr<const char>));
|
||||
int unlink(const char *pathname : itype(_Nt_array_ptr<const char>));
|
||||
int mkstemp(char *template : itype(_Nt_array_ptr<char>));
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#pragma CHECKED_SCOPE on
|
||||
|
||||
extern int utime (const char *file : itype(_Nt_array_ptr<const char>),
|
||||
const struct utimbuf *file_times : itype(_Ptr<const struct utimbuf>));
|
||||
const struct utimbuf *file_times : itype(_Ptr<const struct utimbuf>));
|
||||
|
||||
#pragma CHECKED_SCOPE pop
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче