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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/include/sys/poll.h

Issue 303223007: [NaCl SDK] nacl_io: Run clang-format over nacl_io sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_POLL_H_ 5 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_POLL_H_
6 #define LIBRARIES_NACL_IO_INCLUDE_SYS_POLL_H_ 6 #define LIBRARIES_NACL_IO_INCLUDE_SYS_POLL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "sdk_util/macros.h" 10 #include "sdk_util/macros.h"
(...skipping 13 matching lines...) Expand all
24 24
25 /* Number of file descriptors. */ 25 /* Number of file descriptors. */
26 typedef int nfds_t; 26 typedef int nfds_t;
27 27
28 struct pollfd { 28 struct pollfd {
29 int fd; 29 int fd;
30 uint16_t events; 30 uint16_t events;
31 uint16_t revents; 31 uint16_t revents;
32 }; 32 };
33 33
34 int poll(struct pollfd *__fds, nfds_t __nfds, int __timeout); 34 int poll(struct pollfd* __fds, nfds_t __nfds, int __timeout);
35 35
36 EXTERN_C_END 36 EXTERN_C_END
37 37
38 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_POLL_H_ */ 38 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_POLL_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698