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
627 B

  1. diff -dur kiss-0.21/src/doeject.c kiss-0.21-patch/src/doeject.c
  2. --- kiss-0.21/src/doeject.c 2004-10-24 01:48:06.297957632 +0000
  3. +++ kiss-0.21-patch/src/doeject.c 2004-10-24 01:51:10.346977928 +0000
  4. @@ -4,6 +4,18 @@
  5. #define __attribute_const__ __attribute__ ((const))
  6. #endif
  7. +#ifdef __CHECKER__
  8. +#define __bitwise __attribute__((bitwise))
  9. +#else
  10. +#define __bitwise
  11. +#endif
  12. +#define __le16 __bitwise __u16
  13. +#define __be16 __bitwise __u16
  14. +#define __le32 __bitwise __u32
  15. +#define __be32 __bitwise __u32
  16. +#define __le64 __bitwise __u64
  17. +#define __be64 __bitwise __u64
  18. +
  19. #include <linux/cdrom.h>
  20. int doeject (Stringstack s)