From f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 7 Mar 2024 17:28:52 -0500 Subject: build: Build mlibc + add distclean target Signed-off-by: Ian Moffett --- lib/mlibc/abis/ironclad/stat.h | 69 ------------------------------------------ 1 file changed, 69 deletions(-) delete mode 100644 lib/mlibc/abis/ironclad/stat.h (limited to 'lib/mlibc/abis/ironclad/stat.h') diff --git a/lib/mlibc/abis/ironclad/stat.h b/lib/mlibc/abis/ironclad/stat.h deleted file mode 100644 index 3f55970..0000000 --- a/lib/mlibc/abis/ironclad/stat.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef _ABIBITS_STAT_H -#define _ABIBITS_STAT_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define S_IFMT 0x0F000 -#define S_IFBLK 0x06000 -#define S_IFCHR 0x02000 -#define S_IFIFO 0x01000 -#define S_IFREG 0x08000 -#define S_IFDIR 0x04000 -#define S_IFLNK 0x0A000 -#define S_IFSOCK 0x0C000 - -#define S_IRWXU 0700 -#define S_IRUSR 0400 -#define S_IWUSR 0200 -#define S_IXUSR 0100 -#define S_IRWXG 070 -#define S_IRGRP 040 -#define S_IWGRP 020 -#define S_IXGRP 010 -#define S_IRWXO 07 -#define S_IROTH 04 -#define S_IWOTH 02 -#define S_IXOTH 01 -#define S_ISUID 04000 -#define S_ISGID 02000 -#define S_ISVTX 01000 - -#define S_IREAD S_IRUSR -#define S_IWRITE S_IWUSR -#define S_IEXEC S_IXUSR - -#ifdef __cplusplus -extern "C" { -#endif - -struct stat { - dev_t st_dev; - ino_t st_ino; - mode_t st_mode; - nlink_t st_nlink; - uid_t st_uid; - gid_t st_gid; - dev_t st_rdev; - off_t st_size; - struct timespec st_atim; - struct timespec st_mtim; - struct timespec st_ctim; - blksize_t st_blksize; - blkcnt_t st_blocks; -}; - -#ifdef __cplusplus -} -#endif - -#endif // _ABIBITS_STAT_H -- cgit v1.2.3