diff options
author | David Zeuthen <zeuthen@google.com> | 2016-03-23 15:13:32 -0400 |
---|---|---|
committer | David Zeuthen <zeuthen@google.com> | 2016-03-23 15:14:22 -0400 |
commit | 67423cff39d7bd5f7d6402ad21c5a26643a3bb10 (patch) | |
tree | 24cb7eb084aa3f13b1e8b55be8a7678f83f8d4ae | |
parent | 0786fc110df80f485fed005c68c57b24769927ec (diff) | |
download | bvb-67423cff39d7bd5f7d6402ad21c5a26643a3bb10.tar.gz |
bvb_refimpl: Remove unused internal header file.
This file was errornously introduced in the previous commit.
BUG=None
TEST=Code builds and unit tests pass.
Change-Id: Iaf4d431b3c73ee9031957d26e8549607a98463ea
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | bvb_rsa.c | 1 | ||||
-rw-r--r-- | bvb_util_internal.h | 40 | ||||
-rw-r--r-- | bvb_util_unittest.cc | 3 |
4 files changed, 0 insertions, 48 deletions
@@ -30,10 +30,6 @@ signing boot images. Various utility code. - bvb_util_internal.h - - Utility code used by bvb internals. - bvb_sysdeps.h Declarations of system dependencies expected to be provided by the @@ -27,7 +27,6 @@ #include "bvb_rsa.h" #include "bvb_sha.h" #include "bvb_util.h" -#include "bvb_util_internal.h" typedef struct Key { unsigned int len; /* Length of n[] in number of uint32_t */ diff --git a/bvb_util_internal.h b/bvb_util_internal.h deleted file mode 100644 index 63d1193..0000000 --- a/bvb_util_internal.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2016 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -#ifndef BVB_REFIMPL_COMPILATION -#error "Never include this file, it may only be used from internal bvb code." -#endif - -#ifndef BVB_UTIL_INTERNAL_H_ -#define BVB_UTIL_INTERNAL_H_ - -#include "bvb_rsa.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* Copies |header| to |dest|, byte-swapping fields in the process. */ -void bvb_rsa_public_key_header_to_host_byte_order( - const BvbRSAPublicKeyHeader* src, - BvbRSAPublicKeyHeader* dest); - -#ifdef __cplusplus -} -#endif - -#endif /* BVB_UTIL_INTERNAL_H_ */ diff --git a/bvb_util_unittest.cc b/bvb_util_unittest.cc index 890158f..4ef9955 100644 --- a/bvb_util_unittest.cc +++ b/bvb_util_unittest.cc @@ -20,9 +20,6 @@ #include "bvb_refimpl.h" -#define BVB_REFIMPL_COMPILATION -#include "bvb_util_internal.h" - TEST(UtilTest, BootImageHeaderByteswap) { BvbBootImageHeader h; |