diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-03-08 22:40:28 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-03-08 22:40:28 +0100 |
commit | bbcb2c11b8f47104176d1129e703ce8586dd4407 (patch) | |
tree | dc49445bb4476823cee22c55ee98cd0b85a6a9da | |
parent | a703f869583ce8bf296b0238b85f0c7e170b3ef2 (diff) | |
download | pcitool-bbcb2c11b8f47104176d1129e703ce8586dd4407.tar.gz pcitool-bbcb2c11b8f47104176d1129e703ce8586dd4407.tar.bz2 pcitool-bbcb2c11b8f47104176d1129e703ce8586dd4407.tar.xz pcitool-bbcb2c11b8f47104176d1129e703ce8586dd4407.zip |
Add missing typedef to the pcilib_error_t
-rw-r--r-- | pcilib/error.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |