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 <[email protected]>
Reviewed-on: https://chromium-review.googlesource.com/275681
Reviewed-by: Utkarsh Sanghi <[email protected]>
diff --git a/PolicyCounterTimer_fp.h b/PolicyCounterTimer_fp.h
index 7a93fe4..5d45ed8 100644
--- a/PolicyCounterTimer_fp.h
+++ b/PolicyCounterTimer_fp.h
@@ -8,14 +8,14 @@
#define __TPM2_POLICYCOUNTERTIMER_FP_H_
typedef struct {
- TPM_EO operation;
- UINT16 offset;
- TPM_HANDLE policySession;
- TPM2B_TIME_INFO operandB;
+ TPM_EO operation;
+ UINT16 offset;
+ TPM_HANDLE policySession;
+ TPM2B_TIME_INFO operandB;
} PolicyCounterTimer_In;
TPM_RC TPM2_PolicyCounterTimer(
- PolicyCounterTimer_In *in // IN: input parameter list
-);
+ PolicyCounterTimer_In *in // IN: input parameter list
+ );
-#endif // __TPM2_POLICYCOUNTERTIMER_FP_H_
+#endif // __TPM2_POLICYCOUNTERTIMER_FP_H_