Skip to content

Commit

Permalink
ses: Guard the elm_type_names declaration by _KERNEL
Browse files Browse the repository at this point in the history
Sponsored by:	Axcient

(cherry picked from commit cc2d08d)
  • Loading branch information
asomers committed Oct 7, 2021
1 parent 0cd92f2 commit 4bfc58b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/cam/scsi/scsi_enc.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ typedef enum {
"SAS Connector" \
}

#ifdef _KERNEL
extern const char *elm_type_names[];
#endif

typedef struct encioc_element {
/* Element Index */
Expand Down

0 comments on commit 4bfc58b

Please sign in to comment.