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.

92 lines
2.4 KiB

  1. diff -dur quota-tools/convertquota.c quota-tools-p/convertquota.c
  2. --- quota-tools/convertquota.c 2002-11-12 10:00:05.000000000 +0000
  3. +++ quota-tools-p/convertquota.c 2004-10-27 18:33:51.089340064 +0000
  4. @@ -12,6 +12,19 @@
  5. #include <fcntl.h>
  6. #include <errno.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 <asm/byteorder.h>
  21. #include "pot.h"
  22. diff -dur quota-tools/quotacheck_v2.c quota-tools-p/quotacheck_v2.c
  23. --- quota-tools/quotacheck_v2.c 2004-05-15 19:20:53.000000000 +0000
  24. +++ quota-tools-p/quotacheck_v2.c 2004-10-27 18:32:35.060898144 +0000
  25. @@ -10,6 +10,19 @@
  26. #include <errno.h>
  27. #include <stdarg.h>
  28. #include <stdlib.h>
  29. +
  30. +#ifdef __CHECKER__
  31. +#define __bitwise __attribute__((bitwise))
  32. +#else
  33. +#define __bitwise
  34. +#endif
  35. +#define __le16 __bitwise __u16
  36. +#define __be16 __bitwise __u16
  37. +#define __le32 __bitwise __u32
  38. +#define __be32 __bitwise __u32
  39. +#define __le64 __bitwise __u64
  40. +#define __be64 __bitwise __u64
  41. +
  42. #include <asm/byteorder.h>
  43. #include "pot.h"
  44. diff -dur quota-tools/quotaio.c quota-tools-p/quotaio.c
  45. --- quota-tools/quotaio.c 2004-05-22 21:49:55.000000000 +0000
  46. +++ quota-tools-p/quotaio.c 2004-10-27 18:33:00.701000256 +0000
  47. @@ -13,6 +13,19 @@
  48. #include <sys/types.h>
  49. #include <sys/stat.h>
  50. #include <sys/file.h>
  51. +
  52. +#ifdef __CHECKER__
  53. +#define __bitwise __attribute__((bitwise))
  54. +#else
  55. +#define __bitwise
  56. +#endif
  57. +#define __le16 __bitwise __u16
  58. +#define __be16 __bitwise __u16
  59. +#define __le32 __bitwise __u32
  60. +#define __be32 __bitwise __u32
  61. +#define __le64 __bitwise __u64
  62. +#define __be64 __bitwise __u64
  63. +
  64. #include <asm/byteorder.h>
  65. #include "pot.h"
  66. diff -dur quota-tools/quotaio_v2.c quota-tools-p/quotaio_v2.c
  67. --- quota-tools/quotaio_v2.c 2004-05-22 21:49:55.000000000 +0000
  68. +++ quota-tools-p/quotaio_v2.c 2004-10-27 18:33:23.424545752 +0000
  69. @@ -10,6 +10,19 @@
  70. #include <stdlib.h>
  71. #include <string.h>
  72. #include <unistd.h>
  73. +
  74. +#ifdef __CHECKER__
  75. +#define __bitwise __attribute__((bitwise))
  76. +#else
  77. +#define __bitwise
  78. +#endif
  79. +#define __le16 __bitwise __u16
  80. +#define __be16 __bitwise __u16
  81. +#define __le32 __bitwise __u32
  82. +#define __be32 __bitwise __u32
  83. +#define __le64 __bitwise __u64
  84. +#define __be64 __bitwise __u64
  85. +
  86. #include <asm/byteorder.h>
  87. #include "pot.h"