Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Unified Diff: services/files/c/mojio_time.h

Issue 1133933002: Move //services/files/c -> //mojo/services/files/public/c. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove data dep Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/files/c/mojio_sys_types.h ('k') | services/files/c/mojio_unistd.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/files/c/mojio_time.h
diff --git a/services/files/c/mojio_time.h b/services/files/c/mojio_time.h
deleted file mode 100644
index dee878a5fe67b583edcaf6df58bd26b13d8e981c..0000000000000000000000000000000000000000
--- a/services/files/c/mojio_time.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Partial <time.h>-lookalike-ish. Note that this is a C header, so that crappy
-// (and non-crappy) C programs can use it.
-//
-// In general, functions/types/macros are given "mojio_"/"MOJIO_"/etc. prefixes.
-// There are a handful of exceptions (noted below).
-//
-// Ordinarily, we'd just use |time_t| from <time.h> (since that's provided by
-// the C standard), but |time_t| is opaque. Thus we need to define our own
-// equivalent. On top of that, we need to define a |struct timespec| equivalent.
-
-#ifndef SERVICES_FILES_C_MOJIO_TIME_H_
-#define SERVICES_FILES_C_MOJIO_TIME_H_
-
-// Includes --------------------------------------------------------------------
-
-#include "services/files/c/mojio_config.h"
-
-// Types -----------------------------------------------------------------------
-
-typedef mojio_config_int64 mojio_time_t;
-
-struct mojio_timespec {
- mojio_time_t tv_sec;
- long tv_nsec;
-};
-
-#endif // SERVICES_FILES_C_MOJIO_TIME_H_
« no previous file with comments | « services/files/c/mojio_sys_types.h ('k') | services/files/c/mojio_unistd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698