[libc-commits] [libc] [libc] add timeout and clock conversion utilities (PR #91905)

via libc-commits libc-commits at lists.llvm.org
Sun May 12 16:38:35 PDT 2024


================
@@ -0,0 +1,60 @@
+//===--- timeout linux implementation ---------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC___SUPPORT_TIME_LINUX_TIMEOUT_H
+#define LLVM_LIBC_SRC___SUPPORT_TIME_LINUX_TIMEOUT_H
+#include "hdr/time_macros.h"
----------------
lntue wrote:

nit: Do you mind adding some extra lines to separate the `#include`'s from the `#define` and `namespace`?

https://github.com/llvm/llvm-project/pull/91905


More information about the libc-commits mailing list