mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
603 B

  1. --- lshw-A.01.07/cdrom.cc 2004-05-11 22:14:35.000000000 +0000
  2. +++ lshw-A.01.07-p/cdrom.cc 2004-10-28 13:11:56.366827712 +0000
  3. @@ -4,6 +4,19 @@
  4. #include <sys/ioctl.h>
  5. #include <fcntl.h>
  6. #include <unistd.h>
  7. +
  8. +#ifdef __CHECKER__
  9. +#define __bitwise __attribute__((bitwise))
  10. +#else
  11. +#define __bitwise
  12. +#endif
  13. +#define __le16 __bitwise __u16
  14. +#define __be16 __bitwise __u16
  15. +#define __le32 __bitwise __u32
  16. +#define __be32 __bitwise __u32
  17. +#define __le64 __bitwise __u64
  18. +#define __be64 __bitwise __u64
  19. +
  20. #include <linux/cdrom.h>
  21. static char *id = "@(#) $Id: cdrom.cc 598 2004-05-11 22:14:35Z ezix $";