summaryrefslogtreecommitdiffstats
path: root/pcilib/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/error.h')
-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,