Parcourir la source

Add missing typedef to the pcilib_error_t

Suren A. Chilingaryan il y a 8 ans
Parent
commit
bbcb2c11b8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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,