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

Side by Side Diff: ports/glibc-compat/include/time.h

Issue 1260083004: Add needed functions to glibc-compat for pkg (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: fix wrong c++ lib Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « ports/glibc-compat/include/sys/unistd.h ('k') | ports/glibc-compat/src/dirfd.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The Native Client Authors. All rights reserved. 2 * Copyright 2015 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 #ifndef GLIBCEMU_TIME_H
7 #define GLIBCEMU_TIME_H 1
6 8
7 #ifndef GLIBCEMU_SYS_STAT_H 9 #include_next <time.h>
8 #define GLIBCEMU_SYS_STAT_H 1
9 10
10 #include_next <sys/stat.h> 11 #include <sys/cdefs.h>
11 12
12 #ifdef __cplusplus 13 __BEGIN_DECLS
13 extern "C" { 14 time_t timegm(struct tm *tm);
14 #endif 15 time_t timelocal(struct tm *tm);
15 16 __END_DECLS
16 mode_t umask(mode_t mask);
17
18 #ifdef __cplusplus
19 }
20 #endif
21 17
22 #endif 18 #endif
OLDNEW
« no previous file with comments | « ports/glibc-compat/include/sys/unistd.h ('k') | ports/glibc-compat/src/dirfd.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698