diff options
author | Michal Marek <mmarek@suse.com> | 2015-10-14 10:35:23 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-01-05 22:10:35 +0100 |
commit | e594a178123eb77a3238a73ca35fabc98dec3599 (patch) | |
tree | 0a290be08e280b5b5cfe48038de7a0c5b8608d24 /drivers/scsi/aic7xxx/aic79xx_osm.h | |
parent | tags: Treat header files as C code (diff) | |
download | linux-e594a178123eb77a3238a73ca35fabc98dec3599.tar.xz linux-e594a178123eb77a3238a73ca35fabc98dec3599.zip |
aic7xxx: Avoid name collision with <linux/list.h>
Rename the local definition of LIST_HEAD to BSD_LIST_HEAD. This fixes a
ctags error if we apply the C rules to header files as well:
ctags: Warning: drivers/scsi/aic7xxx/aic79xx.h:1072: null expansion of name pattern "\3"
ctags: Warning: drivers/scsi/aic7xxx/aic7xxx.h:919: null expansion of name pattern "\3"
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_osm.h')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.h b/drivers/scsi/aic7xxx/aic79xx_osm.h index c58fa33c6592..728193a42e6e 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.h +++ b/drivers/scsi/aic7xxx/aic79xx_osm.h @@ -65,11 +65,6 @@ /* Core SCSI definitions */ #define AIC_LIB_PREFIX ahd -/* Name space conflict with BSD queue macros */ -#ifdef LIST_HEAD -#undef LIST_HEAD -#endif - #include "cam.h" #include "queue.h" #include "scsi_message.h" |