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

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

Issue 596133002: [NaCl SDK] nacl_io: use standard __BEGIN/__END_DECLS in poll.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ */
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698