reformat added files
This patch is the result of running the following script inside chroot:
$ for f in $(git diff bfc1e79 | grep -A1 '^\-\-\- /dev/null' | \
grep '^\+\+' awk -F/ '{print $2}'); do # for all added files
rm -f /tmp/clf.h # remove the placeholder file
mcomms $f > /tmp/clf.h # a hepler script putting multiline comments in one line
rm -f $f
clang-format --style=Google /tmp/clf.h > $f
done
BUG=none
TEST=verified that make still succeeds and that
$ objdump -d build/tpm2lib | md5sum
returns the same value before and after this patch
Change-Id: I7e2dca6a1fdd1d77b1c77f3b6cdd3433556d9c1d
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/275681
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
diff --git a/Create_fp.h b/Create_fp.h
index 2243bfb..5b63f22 100644
--- a/Create_fp.h
+++ b/Create_fp.h
@@ -8,24 +8,23 @@
#define __TPM2_CREATE_FP_H
typedef struct {
- TPM2B_PUBLIC inPublic;
- TPMI_DH_OBJECT parentHandle;
- TPML_PCR_SELECTION creationPCR;
- TPM2B_DATA outsideInfo;
- TPM2B_SENSITIVE_CREATE inSensitive;
+ TPM2B_PUBLIC inPublic;
+ TPMI_DH_OBJECT parentHandle;
+ TPML_PCR_SELECTION creationPCR;
+ TPM2B_DATA outsideInfo;
+ TPM2B_SENSITIVE_CREATE inSensitive;
} Create_In;
typedef struct {
- TPM2B_PUBLIC outPublic;
- TPM2B_CREATION_DATA creationData;
- TPM2B_DIGEST creationHash;
- TPMT_TK_CREATION creationTicket;
- TPM2B_PRIVATE outPrivate;
+ TPM2B_PUBLIC outPublic;
+ TPM2B_CREATION_DATA creationData;
+ TPM2B_DIGEST creationHash;
+ TPMT_TK_CREATION creationTicket;
+ TPM2B_PRIVATE outPrivate;
} Create_Out;
-TPM_RC TPM2_Create(
- Create_In *in, // IN: input parameter list
- Create_Out *out // OUT: output parameter list
+TPM_RC TPM2_Create(Create_In *in, // IN: input parameter list
+ Create_Out *out // OUT: output parameter list
);
-#endif // __TPM2_CREATE_FP_H
+#endif // __TPM2_CREATE_FP_H