From 22a288abf887e4de48f012cc930b7791ca385a72 Mon Sep 17 00:00:00 2001 From: Guy Zadikario Date: Mon, 6 Jun 2011 14:32:48 +0300 Subject: [PATCH] emulator gralloc: removed compilation warnings. just removes anoying compliation warnings in the HMI initialization. Change-Id: I23377a7cae774cf436f89e25edb78c10ff5b5c78 --- tools/emulator/opengl/system/gralloc/gralloc.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/emulator/opengl/system/gralloc/gralloc.cpp b/tools/emulator/opengl/system/gralloc/gralloc.cpp index 04a8f2f2b..774d7b669 100644 --- a/tools/emulator/opengl/system/gralloc/gralloc.cpp +++ b/tools/emulator/opengl/system/gralloc/gralloc.cpp @@ -712,11 +712,15 @@ struct private_module_t HAL_MODULE_INFO_SYM = { id: GRALLOC_HARDWARE_MODULE_ID, name: "Graphics Memory Allocator Module", author: "The Android Open Source Project", - methods: &gralloc_module_methods + methods: &gralloc_module_methods, + dso: NULL, + reserved: {0, } }, registerBuffer: gralloc_register_buffer, unregisterBuffer: gralloc_unregister_buffer, lock: gralloc_lock, unlock: gralloc_unlock, + perform: NULL, + reserved_proc : {NULL, } } };