OSDN Git Service

libhardware: move buffer_handle_t to system/core
authorIliyan Malchev <malchev@google.com>
Tue, 3 May 2011 01:58:16 +0000 (18:58 -0700)
committerIliyan Malchev <malchev@google.com>
Tue, 3 May 2011 22:49:54 +0000 (15:49 -0700)
Change-Id: I2ed9ff7360086bc3458b2211437c102fee615481
Signed-off-by: Iliyan Malchev <malchev@google.com>
include/hardware/gralloc.h

index d0aa707..6b37326 100644 (file)
@@ -18,8 +18,7 @@
 #ifndef ANDROID_GRALLOC_INTERFACE_H
 #define ANDROID_GRALLOC_INTERFACE_H
 
-#include <cutils/native_handle.h>
-
+#include <system/window.h>
 #include <hardware/hardware.h>
 
 #include <stdint.h>
@@ -95,8 +94,6 @@ enum {
 
 /*****************************************************************************/
 
-typedef const native_handle_t* buffer_handle_t;
-
 /**
  * Every hardware module must have a data structure named HAL_MODULE_INFO_SYM
  * and the fields of this data structure must begin with hw_module_t