From 0420736143067c16339a08ced1ff16da36e4e163 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sat, 7 Jan 2023 13:55:16 -0700 Subject: [PATCH] LibC: Remove duplicate declaration of clock_t and time_t These are pulled from Kernel/API/POSIX/sys/types.h. Removing these declarations makes sure we only have one place defining them. --- Userland/Libraries/LibC/time.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/Userland/Libraries/LibC/time.h b/Userland/Libraries/LibC/time.h index dec5d75719a..538c5e025d4 100644 --- a/Userland/Libraries/LibC/time.h +++ b/Userland/Libraries/LibC/time.h @@ -28,9 +28,6 @@ extern long altzone; extern char* tzname[2]; extern int daylight; -typedef uint32_t clock_t; -typedef int64_t time_t; - struct tm* localtime(time_t const*); struct tm* gmtime(time_t const*); time_t mktime(struct tm*);