am 5a6a0a94: am 18af4503: Merge "Ensure header files using __BEGIN_DECLS include sys/cdefs.h."

* commit '5a6a0a9445d80bf2bd847088921f6d1d99315552':
  Ensure header files using __BEGIN_DECLS include sys/cdefs.h.
This commit is contained in:
Elliott Hughes 2013-06-05 18:11:05 -07:00 committed by Android Git Automerger
commit e51cd6f9c9
11 changed files with 15 additions and 2 deletions

View File

@ -30,6 +30,7 @@
#include <pthread.h> #include <pthread.h>
#include <stdbool.h> #include <stdbool.h>
#include <sys/cdefs.h>
__BEGIN_DECLS __BEGIN_DECLS

View File

@ -29,6 +29,7 @@
#define _MNTENT_H_ #define _MNTENT_H_
#include <stdio.h> #include <stdio.h>
#include <sys/cdefs.h>
#define MNTTYPE_IGNORE "ignore" #define MNTTYPE_IGNORE "ignore"

View File

@ -29,11 +29,13 @@
#define _NETINET_IN_H_ #define _NETINET_IN_H_
#include <endian.h> #include <endian.h>
#include <netinet/in6.h>
#include <sys/cdefs.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <linux/in.h> #include <linux/in.h>
#include <linux/in6.h> #include <linux/in6.h>
#include <linux/ipv6.h> #include <linux/ipv6.h>
#include <netinet/in6.h>
__BEGIN_DECLS __BEGIN_DECLS

View File

@ -29,6 +29,7 @@
#define _SYS_AUXV_H_ #define _SYS_AUXV_H_
#include <linux/auxvec.h> #include <linux/auxvec.h>
#include <sys/cdefs.h>
__BEGIN_DECLS __BEGIN_DECLS

View File

@ -29,8 +29,9 @@
#ifndef _SYS_SIGNALFD_H_ #ifndef _SYS_SIGNALFD_H_
#define _SYS_SIGNALFD_H_ #define _SYS_SIGNALFD_H_
#include <signal.h>
#include <linux/signalfd.h> #include <linux/signalfd.h>
#include <signal.h>
#include <sys/cdefs.h>
__BEGIN_DECLS __BEGIN_DECLS

View File

@ -28,6 +28,7 @@
#ifndef _SYS_TIMEB_H #ifndef _SYS_TIMEB_H
#define _SYS_TIMEB_H #define _SYS_TIMEB_H
#include <sys/cdefs.h>
#include <sys/time.h> #include <sys/time.h>
__BEGIN_DECLS __BEGIN_DECLS

View File

@ -102,6 +102,7 @@
#include <pthread.h> #include <pthread.h>
#include <signal.h> #include <signal.h>
#include <sys/cdefs.h>
#define mutex_t pthread_mutex_t #define mutex_t pthread_mutex_t
#define MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER #define MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER

View File

@ -29,6 +29,7 @@
#define _PRIVATE_BIONIC_AUXV_H_ #define _PRIVATE_BIONIC_AUXV_H_
#include <elf.h> #include <elf.h>
#include <sys/cdefs.h>
__BEGIN_DECLS __BEGIN_DECLS

View File

@ -29,6 +29,7 @@
#define _BIONIC_FUTEX_H #define _BIONIC_FUTEX_H
#include <linux/futex.h> #include <linux/futex.h>
#include <sys/cdefs.h>
__BEGIN_DECLS __BEGIN_DECLS

View File

@ -29,6 +29,7 @@
#define _BIONIC_TIME_H #define _BIONIC_TIME_H
#include <time.h> #include <time.h>
#include <sys/cdefs.h>
__BEGIN_DECLS __BEGIN_DECLS

View File

@ -54,6 +54,8 @@
#ifndef _RESOLV_PRIVATE_H_ #ifndef _RESOLV_PRIVATE_H_
#define _RESOLV_PRIVATE_H_ #define _RESOLV_PRIVATE_H_
#include <sys/cdefs.h>
#include <resolv.h> #include <resolv.h>
#include "resolv_static.h" #include "resolv_static.h"
#include <net/if.h> #include <net/if.h>