OSDN Git Service

Remove ALIGNBYTES and ALIGN from <sys/param.h>
authorCalin Juravle <calin@google.com>
Thu, 20 Mar 2014 15:21:32 +0000 (15:21 +0000)
committerCalin Juravle <calin@google.com>
Fri, 21 Mar 2014 09:59:34 +0000 (09:59 +0000)
commitc20de902875dcaebde0ccd0b7a8351598f254d4c
treecb4a8a75dd787d93bca11fc0a2da944a7fc2e76f
parent849e162d3bedc5ca61bdf15486268b253b9f4e93
Remove ALIGNBYTES and ALIGN from <sys/param.h>

There are only three users of bionic definition of ALIGN and keeping it
in sys/param.h polutes the namespace.

I inline the definition in the the three places that's used.

Bug: 13400663
Change-Id: I565008e8426c38ffb07422f42cd8e547d53044e9
libc/bionic/fts.c
libc/dns/gethnamaddr.c
libc/include/sys/param.h
libc/stdio/findfp.c