diff options
author | David 'Digit' Turner <digit@google.com> | 2010-02-09 14:05:43 -0800 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2010-02-09 14:05:43 -0800 |
commit | 49f0a8f23bba188466c6ee3652858ef4da228c6f (patch) | |
tree | fd0c67133f0ad6e856a7a56a1f27333131ef40e3 | |
parent | cdcc2648baa3ad62c497fbc87c36de590f9f9f97 (diff) | |
download | bionic-49f0a8f23bba188466c6ee3652858ef4da228c6f.zip bionic-49f0a8f23bba188466c6ee3652858ef4da228c6f.tar.gz bionic-49f0a8f23bba188466c6ee3652858ef4da228c6f.tar.bz2 |
Fix <sys/epoll.h> and <sys/system_properties.h> to include proper C++ inclusion guards
-rw-r--r-- | libc/include/sys/epoll.h | 6 | ||||
-rw-r--r-- | libc/include/sys/system_properties.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/libc/include/sys/epoll.h b/libc/include/sys/epoll.h index 1478caa..decdb46 100644 --- a/libc/include/sys/epoll.h +++ b/libc/include/sys/epoll.h @@ -28,6 +28,10 @@ #ifndef _SYS_EPOLL_H_ #define _SYS_EPOLL_H_ +#include <sys/cdefs.h> + +__BEGIN_DECLS + #define EPOLLIN 0x00000001 #define EPOLLPRI 0x00000002 #define EPOLLOUT 0x00000004 @@ -62,5 +66,7 @@ int epoll_create(int size); int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event); int epoll_wait(int epfd, struct epoll_event *events, int max, int timeout); +__END_DECLS + #endif /* _SYS_EPOLL_H_ */ diff --git a/libc/include/sys/system_properties.h b/libc/include/sys/system_properties.h index 2eb00cd..4fdc944 100644 --- a/libc/include/sys/system_properties.h +++ b/libc/include/sys/system_properties.h @@ -29,6 +29,10 @@ #ifndef _INCLUDE_SYS_SYSTEM_PROPERTIES_H #define _INCLUDE_SYS_SYSTEM_PROPERTIES_H +#include <sys/cdefs.h> + +__BEGIN_DECLS + typedef struct prop_info prop_info; #define PROP_NAME_MAX 32 @@ -76,4 +80,6 @@ int __system_property_read(const prop_info *pi, char *name, char *value); */ const prop_info *__system_property_find_nth(unsigned n); +__END_DECLS + #endif |