aboutsummaryrefslogtreecommitdiff
path: root/tpm/tpm_tis.h
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2013-04-02 22:14:51 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-03 15:06:03 -0500
commit8243b0464b247ff460178a15f1fe306ef9c70b49 (patch)
treea852cec95a1bdd2a774f9f98e51e69173680dd2b /tpm/tpm_tis.h
parenteabb21aac9665097676b97fa3e053ae2982eba1e (diff)
tpm: Fix several compiler warnings (redefined data types)
Signed-off-by: Stefan Weil <sw@weilnetz.de> Message-id: 1364933691-21197-1-git-send-email-sw@weilnetz.de Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tpm/tpm_tis.h')
-rw-r--r--tpm/tpm_tis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpm/tpm_tis.h b/tpm/tpm_tis.h
index 0c8df80cce..7f216e56b2 100644
--- a/tpm/tpm_tis.h
+++ b/tpm/tpm_tis.h
@@ -35,10 +35,10 @@
#define TYPE_TPM_TIS "tpm-tis"
-typedef struct TPMSizedBuffer {
+struct TPMSizedBuffer {
uint32_t size;
uint8_t *buffer;
-} TPMSizedBuffer;
+};
typedef enum {
TPM_TIS_STATE_IDLE = 0,