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.

64 lines
1.5 KiB

  1. --- ./irattach/dongle_attach.c 2002-06-23 20:09:31.000000000 +0000
  2. +++ ./irattach/dongle_attach.c 2004-10-27 19:06:50.718390704 +0000
  3. @@ -38,6 +38,19 @@
  4. #include <signal.h>
  5. #include <string.h>
  6. +
  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 <asm/byteorder.h>
  20. #include <net/if.h>
  21. --- ./irdaping/irdaping.c 2003-07-08 01:33:39.000000000 +0000
  22. +++ ./irdaping/irdaping.c 2004-10-27 19:07:13.140981952 +0000
  23. @@ -32,6 +32,18 @@
  24. #include <signal.h>
  25. #include <string.h>
  26. +#ifdef __CHECKER__
  27. +#define __bitwise __attribute__((bitwise))
  28. +#else
  29. +#define __bitwise
  30. +#endif
  31. +#define __le16 __bitwise __u16
  32. +#define __be16 __bitwise __u16
  33. +#define __le32 __bitwise __u32
  34. +#define __be32 __bitwise __u32
  35. +#define __le64 __bitwise __u64
  36. +#define __be64 __bitwise __u64
  37. +
  38. #include <asm/byteorder.h>
  39. /*
  40. --- ./tekram/irkbd.c 2000-11-06 21:13:52.000000000 +0000
  41. +++ ./tekram/irkbd.c 2004-10-27 19:05:01.285027104 +0000
  42. @@ -45,6 +45,18 @@
  43. #include <irda.h>
  44. +#ifdef __CHECKER__
  45. +#define __bitwise __attribute__((bitwise))
  46. +#else
  47. +#define __bitwise
  48. +#endif
  49. +#define __le16 __bitwise __u16
  50. +#define __be16 __bitwise __u16
  51. +#define __le32 __bitwise __u32
  52. +#define __be32 __bitwise __u32
  53. +#define __le64 __bitwise __u64
  54. +#define __be64 __bitwise __u64
  55. +
  56. #include <asm/byteorder.h>
  57. #include "irkbd.h"