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

diff -dur quota-tools/convertquota.c quota-tools-p/convertquota.c
--- quota-tools/convertquota.c 2002-11-12 10:00:05.000000000 +0000
+++ quota-tools-p/convertquota.c 2004-10-27 18:33:51.089340064 +0000
@@ -12,6 +12,19 @@
#include <fcntl.h>
#include <errno.h>
+
+#ifdef __CHECKER__
+#define __bitwise __attribute__((bitwise))
+#else
+#define __bitwise
+#endif
+#define __le16 __bitwise __u16
+#define __be16 __bitwise __u16
+#define __le32 __bitwise __u32
+#define __be32 __bitwise __u32
+#define __le64 __bitwise __u64
+#define __be64 __bitwise __u64
+
#include <asm/byteorder.h>
#include "pot.h"
diff -dur quota-tools/quotacheck_v2.c quota-tools-p/quotacheck_v2.c
--- quota-tools/quotacheck_v2.c 2004-05-15 19:20:53.000000000 +0000
+++ quota-tools-p/quotacheck_v2.c 2004-10-27 18:32:35.060898144 +0000
@@ -10,6 +10,19 @@
#include <errno.h>
#include <stdarg.h>
#include <stdlib.h>
+
+#ifdef __CHECKER__
+#define __bitwise __attribute__((bitwise))
+#else
+#define __bitwise
+#endif
+#define __le16 __bitwise __u16
+#define __be16 __bitwise __u16
+#define __le32 __bitwise __u32
+#define __be32 __bitwise __u32
+#define __le64 __bitwise __u64
+#define __be64 __bitwise __u64
+
#include <asm/byteorder.h>
#include "pot.h"
diff -dur quota-tools/quotaio.c quota-tools-p/quotaio.c
--- quota-tools/quotaio.c 2004-05-22 21:49:55.000000000 +0000
+++ quota-tools-p/quotaio.c 2004-10-27 18:33:00.701000256 +0000
@@ -13,6 +13,19 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
+
+#ifdef __CHECKER__
+#define __bitwise __attribute__((bitwise))
+#else
+#define __bitwise
+#endif
+#define __le16 __bitwise __u16
+#define __be16 __bitwise __u16
+#define __le32 __bitwise __u32
+#define __be32 __bitwise __u32
+#define __le64 __bitwise __u64
+#define __be64 __bitwise __u64
+
#include <asm/byteorder.h>
#include "pot.h"
diff -dur quota-tools/quotaio_v2.c quota-tools-p/quotaio_v2.c
--- quota-tools/quotaio_v2.c 2004-05-22 21:49:55.000000000 +0000
+++ quota-tools-p/quotaio_v2.c 2004-10-27 18:33:23.424545752 +0000
@@ -10,6 +10,19 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+
+#ifdef __CHECKER__
+#define __bitwise __attribute__((bitwise))
+#else
+#define __bitwise
+#endif
+#define __le16 __bitwise __u16
+#define __be16 __bitwise __u16
+#define __le32 __bitwise __u32
+#define __be32 __bitwise __u32
+#define __le64 __bitwise __u64
+#define __be64 __bitwise __u64
+
#include <asm/byteorder.h>
#include "pot.h"