From 43956c9611ca6e3398b439d94c8a8d37ede70f92 Mon Sep 17 00:00:00 2001 From: Panagiotis Vasilopoulos Date: Wed, 21 Apr 2021 22:24:58 +0300 Subject: [PATCH] LibC: Add additional data types - Reorganized some variables (alphabetically and based on their function) so that the new ones don't stick out. - See: https://github.com/SerenityOS/serenity/issues/6068 Co-authored-by: Linus Groh --- Userland/Libraries/LibC/sys/types.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibC/sys/types.h b/Userland/Libraries/LibC/sys/types.h index dc010b1304..8fb86f0585 100644 --- a/Userland/Libraries/LibC/sys/types.h +++ b/Userland/Libraries/LibC/sys/types.h @@ -37,16 +37,20 @@ typedef __WINT_TYPE__ wint_t; typedef uint32_t ino_t; typedef int64_t off_t; +typedef uint32_t blkcnt_t; +typedef uint32_t blksize_t; typedef uint32_t dev_t; typedef uint16_t mode_t; typedef uint32_t nlink_t; -typedef uint32_t blksize_t; -typedef uint32_t blkcnt_t; + typedef int64_t time_t; typedef uint32_t useconds_t; typedef int32_t suseconds_t; typedef uint32_t clock_t; +typedef uint64_t fsblkcnt_t; +typedef uint64_t fsfilcnt_t; + #define __socklen_t_defined #define __socklen_t uint32_t typedef __socklen_t socklen_t;