OSDN Git Service

Ensure header files using __BEGIN_DECLS include sys/cdefs.h.
authorElliott Hughes <enh@google.com>
Thu, 6 Jun 2013 00:51:20 +0000 (17:51 -0700)
committerElliott Hughes <enh@google.com>
Thu, 6 Jun 2013 00:58:08 +0000 (17:58 -0700)
commit36fa67bcdd90f18a3c68f8637ae836762407fa51
tree67c47601c9dd09bf8fc97d15e872c264752477da
parentc5bfb62433751579e86d5fd24cddf3ae28a49b43
Ensure header files using __BEGIN_DECLS include sys/cdefs.h.

We keep fixing these one-by-one; let's fix them all at once.

Found thus:

  find . -name *.h | xargs grep -L sys/cdefs.h | xargs grep -l BEGIN_DECL | xargs grep -L sys/types

Change-Id: I188842aa2484dc6176e96556d57c38a0f785b59b
libc/bionic/pthread_internal.h
libc/include/mntent.h
libc/include/netinet/in.h
libc/include/sys/auxv.h
libc/include/sys/signalfd.h
libc/include/sys/timeb.h
libc/netbsd/net/reentrant.h
libc/private/bionic_auxv.h
libc/private/bionic_futex.h
libc/private/bionic_time.h
libc/private/resolv_private.h