From bbcb2c11b8f47104176d1129e703ce8586dd4407 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 8 Mar 2016 22:40:28 +0100 Subject: Add missing typedef to the pcilib_error_t --- pcilib/error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcilib/error.h b/pcilib/error.h index 051ecd8..e0f82e9 100644 --- a/pcilib/error.h +++ b/pcilib/error.h @@ -9,7 +9,7 @@ typedef enum { PCILIB_LOG_ONCE = 1 } pcilib_log_flags_t; -enum { +typedef enum { PCILIB_ERROR_SUCCESS = 0, PCILIB_ERROR_MEMORY = ENOMEM, PCILIB_ERROR_INVALID_REQUEST = EBADR, -- cgit v1.2.1