Chromium Code Reviews| Index: native_client_sdk/src/libraries/nacl_io/include/sys/poll.h |
| diff --git a/native_client_sdk/src/libraries/nacl_io/include/sys/poll.h b/native_client_sdk/src/libraries/nacl_io/include/sys/poll.h |
| index d09eb59a026ae1285f3d7c46eb796de17b1c2e58..7ab2fccd3bddd2c7d6ba845cc481afcd428f1705 100644 |
| --- a/native_client_sdk/src/libraries/nacl_io/include/sys/poll.h |
| +++ b/native_client_sdk/src/libraries/nacl_io/include/sys/poll.h |
| @@ -6,10 +6,7 @@ |
| #define LIBRARIES_NACL_IO_INCLUDE_SYS_POLL_H_ |
| #include <stdint.h> |
| - |
| -#include "sdk_util/macros.h" |
| - |
| -EXTERN_C_BEGIN |
| +#include <sys/cdefs.h> |
| /* This header adds definitions of flags and structures for use with poll on |
| * toolchains with 'C' libraries which do not normally supply poll. */ |
| @@ -31,8 +28,10 @@ struct pollfd { |
| uint16_t revents; |
| }; |
| +__END_DECLS |
|
binji
2014/09/23 23:27:07
backward?
|
| + |
| int poll(struct pollfd* __fds, nfds_t __nfds, int __timeout); |
| -EXTERN_C_END |
| +__BEGIN_DECLS |
| #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_POLL_H_ */ |