[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 4/4] Update time.h from nolibc to use uktime


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Wed, 11 Sep 2019 13:56:05 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gaVmJfLBoTRUzKQegHLxP2RAmAxHU+tnVtIDUEGM6SU=; b=XnpH1nnpeIpVJh/WeDkhNAu/VQQZ5wTgWeWngU4VKGk4NlgEX3Qx4vGJEiVsRPblDcX3e+mSzt64qOTyuaIperzKGiL9Q+pomauamDNBWGoW3UgEsrM/kcgjJCW3aIMzsx4te5S4OPu7jb6CDEiuTlcUhJKuwe9ibsa03kBJN1ULXE/00neClZYpo1/noSsDP7K2E/t5Ka39DiMKS/ZiSYcLSo3iX80eR8c5Gu7J+ASNJVOwZcrW+aIyS4Q3uEJbaOKHvyyEz+r7WrzXod2ex0RHbv4gX1RT4wrTvc4bwYnCCgBnLlAD1TN+thbQYoR3za+KOdXUEvB4G6xahzwfvg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AYk8jWiqpG501EZogaKtXFzK1KDolQyhGyTIfvQxEldgj9u8cBndFk5YMVxPe4mNgPRP7NgACKRKgiM40aR4ayudF7sFH7jchQJQN3jPyR5U+XDbNt6ApI2QIP9UbTCoeF8m//lnSGTSTvCNCGN987igjPiNRtuMP3hR9Grve5F+SE1RuiSpCErICxZFVtkXDi0QhnR5ODL+NJlpqCoCaXnEOUcVPRQXM/3reMLVaNi5cqFkRv6D6vWZGiR4ctnknkWxRxh2URw0nAhRAFpjqNbUOhGRq+EOtKn7DBX3vxHwXHmgQlSgRc8bNRobOatUDhJsc4kkAtPylkKrRYCOcA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>, "costin.lupu@xxxxxxxxx" <costin.lupu@xxxxxxxxx>
  • Delivery-date: Wed, 11 Sep 2019 13:56:17 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVaKin0AI8NGetw0qtj2kCcHzIYQ==
  • Thread-topic: [UNIKRAFT PATCH 4/4] Update time.h from nolibc to use uktime

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
 lib/nolibc/include/time.h | 27 +--------------------------
 1 file changed, 1 insertion(+), 26 deletions(-)

diff --git a/lib/nolibc/include/time.h b/lib/nolibc/include/time.h
index f77bb2fd..be5b7a0f 100644
--- a/lib/nolibc/include/time.h
+++ b/lib/nolibc/include/time.h
@@ -35,31 +35,6 @@
 #ifndef __TIME_H__
 #define __TIME_H__
 
-#include <sys/time.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define __NEED_NULL
-#define __NEED_time_t
-#define __NEED_struct_timespec
-#define __NEED_clockid_t
-#include <nolibc-internal/shareddefs.h>
-
-#define CLOCK_REALTIME  0
-#define CLOCK_MONOTONIC 1
-
-struct itimerspec {
-       struct timespec it_interval;
-       struct timespec it_value;
-};
-
-int nanosleep(const struct timespec *req, struct timespec *rem);
-int clock_gettime(clockid_t clk, struct timespec *tp);
-
-#ifdef __cplusplus
-}
-#endif
+#include <uktime/time.h>
 
 #endif /* __TIME_H__ */
-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.