Make enums anonymous to fix the build with -fno-common (Clang 11, GCC 10).
This commit is contained in:
parent
d99d008ad2
commit
3870ad6c4b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552108
18
net/istgt/files/patch-src_istgt__lu.h
Normal file
18
net/istgt/files/patch-src_istgt__lu.h
Normal file
@ -0,0 +1,18 @@
|
||||
--- src/istgt_lu.h.orig 2012-08-27 11:46:50 UTC
|
||||
+++ src/istgt_lu.h
|
||||
@@ -277,13 +277,13 @@ enum {
|
||||
ISTGT_LU_TASK_RESULT_IMMEDIATE = 0,
|
||||
ISTGT_LU_TASK_RESULT_QUEUE_OK = 1,
|
||||
ISTGT_LU_TASK_RESULT_QUEUE_FULL = 2,
|
||||
-} ISTGT_LU_TASK_RESULT;
|
||||
+} /* ISTGT_LU_TASK_RESULT */;
|
||||
|
||||
enum {
|
||||
ISTGT_LU_TASK_RESPONSE = 0,
|
||||
ISTGT_LU_TASK_REQPDU = 1,
|
||||
ISTGT_LU_TASK_REQUPDPDU = 2,
|
||||
-} ISTGT_LU_TASK_TYPE;
|
||||
+} /* ISTGT_LU_TASK_TYPE */;
|
||||
|
||||
typedef struct istgt_lu_task_t {
|
||||
int type;
|
Loading…
Reference in New Issue
Block a user