浏览代码

Add missing typedef to the pcilib_error_t

Suren A. Chilingaryan 8 年之前
父节点
当前提交
bbcb2c11b8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,