diff options
author | Howard Chen <howardsoc@google.com> | 2017-10-20 13:34:36 +0800 |
---|---|---|
committer | Howard Chen <howardsoc@google.com> | 2017-10-24 11:52:36 +0800 |
commit | 1a0eee28cc69eb9e69f3fd9212015193e7a47003 (patch) | |
tree | 39bc0880ecf3691230e2820961a771acda25c54e /libhidlmemory | |
parent | 3f8c4164067e0239c7f1cdd020d397ce42a9e641 (diff) | |
download | libhidl-1a0eee28cc69eb9e69f3fd9212015193e7a47003.tar.gz |
Add header guard to mapping.h
Test: compile goog/master
Change-Id: I88ace1624463e79be416cb0c7e9c7f7d6fd20f0c
Diffstat (limited to 'libhidlmemory')
-rw-r--r-- | libhidlmemory/include/hidlmemory/mapping.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhidlmemory/include/hidlmemory/mapping.h b/libhidlmemory/include/hidlmemory/mapping.h index e15eb80..352cbaf 100644 --- a/libhidlmemory/include/hidlmemory/mapping.h +++ b/libhidlmemory/include/hidlmemory/mapping.h @@ -13,6 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#ifndef ANDROID_HARDWARE_MAPPING_H +#define ANDROID_HARDWARE_MAPPING_H #include <android/hidl/memory/1.0/IMemory.h> #include <hidl/HidlSupport.h> @@ -30,3 +32,4 @@ sp<android::hidl::memory::V1_0::IMemory> mapMemory(const hidl_memory &memory); } // namespace hardware } // namespace android +#endif |