From 4be2b5700315a99c6828ad314ed3e45ecf1c1527 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 11 Apr 2012 11:02:59 -0700 Subject: Add __snseconds_t and __SNSECONDS_T_TYPE --- bits/types.h | 1 + bits/typesizes.h | 1 + 2 files changed, 2 insertions(+) (limited to 'bits') diff --git a/bits/types.h b/bits/types.h index a9bf0ad..ae79a6f 100644 --- a/bits/types.h +++ b/bits/types.h @@ -148,6 +148,7 @@ __STD_TYPE __ID_T_TYPE __id_t; /* General type for IDs. */ __STD_TYPE __TIME_T_TYPE __time_t; /* Seconds since the Epoch. */ __STD_TYPE __USECONDS_T_TYPE __useconds_t; /* Count of microseconds. */ __STD_TYPE __SUSECONDS_T_TYPE __suseconds_t; /* Signed count of microseconds. */ +__STD_TYPE __SNSECONDS_T_TYPE __snseconds_t; /* Signed count of nanoseconds. */ __STD_TYPE __DADDR_T_TYPE __daddr_t; /* The type of a disk address. */ __STD_TYPE __SWBLK_T_TYPE __swblk_t; /* Type of a swap block maybe? */ diff --git a/bits/typesizes.h b/bits/typesizes.h index e1c5a27..179fe5f 100644 --- a/bits/typesizes.h +++ b/bits/typesizes.h @@ -57,6 +57,7 @@ #define __BLKSIZE_T_TYPE __SLONGWORD_TYPE #define __FSID_T_TYPE struct { int __val[2]; } #define __SSIZE_T_TYPE __SWORD_TYPE +#define __SNSECONDS_T_TYPE __SLONGWORD_TYPE /* Number of descriptors that can fit in an `fd_set'. */ #define __FD_SETSIZE 1024 -- cgit v1.1