Browse Source

Add missing typedef to the pcilib_error_t

Suren A. Chilingaryan 8 years ago
parent
commit
bbcb2c11b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pcilib/error.h

+ 1 - 1
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,