From 3dc05967d3f39bf7dbb1b2b46d5a7d8c36774593 Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 16 Dec 2020 14:06:16 -0600 Subject: [PATCH] new types! --- include/sys/types.h | 8 ++++++++ include/types/blkcnt_t.h | 6 ++++++ include/types/blksize_t.h | 6 ++++++ include/types/fsblkcnt_t.h | 6 ++++++ include/types/fsfilcnt_t.h | 6 ++++++ include/types/ino_t.h | 6 ++++++ include/types/nlink_t.h | 6 ++++++ 7 files changed, 44 insertions(+) create mode 100644 include/types/blkcnt_t.h create mode 100644 include/types/blksize_t.h create mode 100644 include/types/fsblkcnt_t.h create mode 100644 include/types/fsfilcnt_t.h create mode 100644 include/types/ino_t.h create mode 100644 include/types/nlink_t.h diff --git a/include/sys/types.h b/include/sys/types.h index b4d1c53..1921e34 100755 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -19,6 +19,14 @@ #include #include +#include + +#include +#include + +#include +#include +#include #include #include diff --git a/include/types/blkcnt_t.h b/include/types/blkcnt_t.h new file mode 100644 index 0000000..76319bb --- /dev/null +++ b/include/types/blkcnt_t.h @@ -0,0 +1,6 @@ +#ifndef _TYPES_BLKCNT_T_H +#define _TYPES_BLKCNT_T_H + +typedef long int blkcnt_t; + +#endif \ No newline at end of file diff --git a/include/types/blksize_t.h b/include/types/blksize_t.h new file mode 100644 index 0000000..595a44d --- /dev/null +++ b/include/types/blksize_t.h @@ -0,0 +1,6 @@ +#ifndef _TYPES_BLKSIZE_T_H +#define _TYPES_BLKSIZE_T_H + +typedef long int blksize_t; + +#endif \ No newline at end of file diff --git a/include/types/fsblkcnt_t.h b/include/types/fsblkcnt_t.h new file mode 100644 index 0000000..5bf35d6 --- /dev/null +++ b/include/types/fsblkcnt_t.h @@ -0,0 +1,6 @@ +#ifndef _TYPES_FSBLKCNT_T_H +#define _TYPES_FSBLKCNT_T_H + +typedef unsigned long int fsblkcnt_t; + +#endif \ No newline at end of file diff --git a/include/types/fsfilcnt_t.h b/include/types/fsfilcnt_t.h new file mode 100644 index 0000000..e875075 --- /dev/null +++ b/include/types/fsfilcnt_t.h @@ -0,0 +1,6 @@ +#ifndef _TYPES_FSFILCNT_T_H +#define _TYPES_FSFILCNT_T_H + +typedef unsigned long int fsfilcnt_t; + +#endif \ No newline at end of file diff --git a/include/types/ino_t.h b/include/types/ino_t.h new file mode 100644 index 0000000..5f2b45f --- /dev/null +++ b/include/types/ino_t.h @@ -0,0 +1,6 @@ +#ifndef _TYPES_INO_T_H +#define _TYPES_INO_T_H + +typedef unsigned long long int ino_t; + +#endif \ No newline at end of file diff --git a/include/types/nlink_t.h b/include/types/nlink_t.h new file mode 100644 index 0000000..8e30e02 --- /dev/null +++ b/include/types/nlink_t.h @@ -0,0 +1,6 @@ +#ifndef _TYPES_NLINK_T_H +#define _TYPES_NLINK_T_H + +typedef long int nlink_t; + +#endif \ No newline at end of file