Chromium Code Reviews

Side by Side Diff: nspr/pr/include/md/_linux.h

Issue 1843333003: Update NSPR to 4.12 and NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public 2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 5
6 /* 6 /*
7 * This file is used by not only Linux but also other glibc systems 7 * This file is used by not only Linux but also other glibc systems
8 * such as GNU/Hurd and GNU/k*BSD. 8 * such as GNU/Hurd and GNU/k*BSD.
9 */ 9 */
10 10
(...skipping 653 matching lines...)
664 extern PRStatus _MD_WAIT(PRThread *, PRIntervalTime timeout); 664 extern PRStatus _MD_WAIT(PRThread *, PRIntervalTime timeout);
665 extern PRStatus _MD_WAKEUP_WAITER(PRThread *); 665 extern PRStatus _MD_WAKEUP_WAITER(PRThread *);
666 extern void _MD_YIELD(void); 666 extern void _MD_YIELD(void);
667 667
668 #endif /* ! _PR_PTHREADS */ 668 #endif /* ! _PR_PTHREADS */
669 669
670 extern void _MD_EarlyInit(void); 670 extern void _MD_EarlyInit(void);
671 671
672 #define _MD_EARLY_INIT _MD_EarlyInit 672 #define _MD_EARLY_INIT _MD_EarlyInit
673 #define _MD_FINAL_INIT _PR_UnixInit 673 #define _MD_FINAL_INIT _PR_UnixInit
674 #define HAVE_CLOCK_MONOTONIC 674 #define _PR_HAVE_CLOCK_MONOTONIC
675 675
676 /* 676 /*
677 * We wrapped the select() call. _MD_SELECT refers to the built-in, 677 * We wrapped the select() call. _MD_SELECT refers to the built-in,
678 * unwrapped version. 678 * unwrapped version.
679 */ 679 */
680 #define _MD_SELECT __select 680 #define _MD_SELECT __select
681 681
682 #ifdef _PR_POLL_AVAILABLE 682 #ifdef _PR_POLL_AVAILABLE
683 #include <sys/poll.h> 683 #include <sys/poll.h>
684 extern int __syscall_poll(struct pollfd *ufds, unsigned long int nfds, 684 extern int __syscall_poll(struct pollfd *ufds, unsigned long int nfds,
685 int timeout); 685 int timeout);
686 #define _MD_POLL __syscall_poll 686 #define _MD_POLL __syscall_poll
687 #endif 687 #endif
688 688
689 /* For writev() */ 689 /* For writev() */
690 #include <sys/uio.h> 690 #include <sys/uio.h>
691 691
692 extern void _MD_linux_map_sendfile_error(int err); 692 extern void _MD_linux_map_sendfile_error(int err);
693 693
694 #endif /* nspr_linux_defs_h___ */ 694 #endif /* nspr_linux_defs_h___ */
OLDNEW
« no previous file with comments | « nspr/lib/ds/plarena.h ('k') | nspr/pr/include/md/_unixos.h » ('j') | nss/lib/util/secoid.c » ('J')

Powered by Google App Engine