From 513e8bc39faa1a35a928fb224dc8a314ada97029 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Tue, 26 May 2020 19:22:04 +0200 Subject: [PATCH] Clean up the namespace of . While here, do some whitespace cleanup. --- sys/sys/timeb.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sys/sys/timeb.h b/sys/sys/timeb.h index 119283903d..f67b0d5806 100644 --- a/sys/sys/timeb.h +++ b/sys/sys/timeb.h @@ -36,10 +36,13 @@ */ #ifndef _SYS_TIMEB_H_ -#define _SYS_TIMEB_H_ +#define _SYS_TIMEB_H_ -#ifndef _SYS_TIME_H_ -#include +#include + +#ifndef _TIME_T_DECLARED +typedef __time_t time_t; +#define _TIME_T_DECLARED #endif /* The ftime(2) system call structure -- deprecated. */ @@ -58,9 +61,10 @@ struct timeb { __BEGIN_DECLS #if __BSD_VISIBLE || (__XSI_VISIBLE && __XSI_VISIBLE < 700) -int ftime (struct timeb *); /* LEGACY */ +int ftime(struct timeb *); /* LEGACY */ #endif __END_DECLS + #endif /* _KERNEL */ #endif -- 2.41.0