Changes to allow compilation of NV_UndefineSpaceSpecial.c
BUG=none
TEST=compilation succeeds:
cc -Wall -Werror -c -o /dev/null NV_UndefineSpaceSpecial.c
Change-Id: Ifd241f7f038740b4db25120b5cffefa862fc55b8
Signed-off-by: Vadim Bendebury <[email protected]>
Reviewed-on: https://chromium-review.googlesource.com/274615
Reviewed-by: Utkarsh Sanghi <[email protected]>
diff --git a/NV_UndefineSpaceSpecial_fp.h b/NV_UndefineSpaceSpecial_fp.h
new file mode 100644
index 0000000..a714da7
--- /dev/null
+++ b/NV_UndefineSpaceSpecial_fp.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright 2015 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef __TPM2_NV_UNDEFINESPACESPECIAL_FP_H_
+#define __TPM2_NV_UNDEFINESPACESPECIAL_FP_H_
+
+typedef struct {
+ TPMI_RH_NV_INDEX nvIndex;
+} NV_UndefineSpaceSpecial_In;
+
+TPM_RC TPM2_NV_UndefineSpaceSpecial(
+ NV_UndefineSpaceSpecial_In *in // IN: input parameter list
+);
+
+#endif // __TPM2_NV_UNDEFINESPACESPECIAL_FP_H_