Kill <machine/_types.h>.

Most of <machine/_types.h> was either unused, wrong, or identical across
all 32-/64-bit architectures.

I'm not a huge fan of <sys/_types.h> either, but moving the bits we need
up into there is a step forward.

Bug: 12213562
Change-Id: Id13551c78966e324beee2dd90c5575e37d2a71e6
This commit is contained in:
Elliott Hughes
2014-02-04 19:26:31 -08:00
parent 12e8b76e5f
commit 9afe2884c7
9 changed files with 42 additions and 653 deletions

View File

@@ -35,15 +35,8 @@
#ifndef _ERR_H_
#define _ERR_H_
/*
* Don't use va_list in the err/warn prototypes. Va_list is typedef'd in two
* places (<machine/varargs.h> and <machine/stdarg.h>), so if we include one
* of them here we may collide with the utility's includes. It's unreasonable
* for utilities to have to include one of them to include err.h, so we get
* __va_list from <machine/_types.h> and use it.
*/
#include <sys/cdefs.h>
#include <machine/_types.h>
#include <sys/types.h>
__BEGIN_DECLS