summaryrefslogtreecommitdiffstats
path: root/pcilib
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-03-08 22:40:28 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-03-08 22:40:28 +0100
commitbbcb2c11b8f47104176d1129e703ce8586dd4407 (patch)
treedc49445bb4476823cee22c55ee98cd0b85a6a9da /pcilib
parenta703f869583ce8bf296b0238b85f0c7e170b3ef2 (diff)
downloadpcitool-bbcb2c11b8f47104176d1129e703ce8586dd4407.tar.gz
pcitool-bbcb2c11b8f47104176d1129e703ce8586dd4407.tar.bz2
pcitool-bbcb2c11b8f47104176d1129e703ce8586dd4407.tar.xz
pcitool-bbcb2c11b8f47104176d1129e703ce8586dd4407.zip
Add missing typedef to the pcilib_error_t
Diffstat (limited to 'pcilib')
-rw-r--r--pcilib/error.h2
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,