@ -1,23 +0,0 @@ |
|||
diff -dur disktype-6/cdaccess.c disktype-6-p/cdaccess.c
|
|||
--- disktype-6/cdaccess.c 2003-06-01 12:45:47.000000000 +0000
|
|||
+++ disktype-6-p/cdaccess.c 2004-10-24 05:14:37.645186520 +0000
|
|||
@@ -32,6 +32,19 @@
|
|||
|
|||
#ifdef USE_IOCTL_LINUX |
|||
#include <sys/ioctl.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 <linux/cdrom.h> |
|||
#define DO_CDACCESS 1 |
|||
#endif /* USE_IOCTL_LINUX */ |
@ -1,22 +0,0 @@ |
|||
--- eject-2.0.13/eject.c 2002-12-09 22:28:08.000000000 +0000
|
|||
+++ eject-2.0.13-p/eject.c 2004-10-27 00:58:23.480599936 +0000
|
|||
@@ -59,6 +59,19 @@
|
|||
#include <sys/wait.h> |
|||
#include <sys/mtio.h> |
|||
#include <linux/types.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 <linux/cdrom.h> |
|||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) |
|||
#include <linux/ucdrom.h> |
@ -1,23 +0,0 @@ |
|||
diff -dur hdparm-5.7/hdparm.c hdparm-5.7-patch/hdparm.c
|
|||
--- hdparm-5.7/hdparm.c 2004-09-01 00:34:37.000000000 +0000
|
|||
+++ hdparm-5.7-patch/hdparm.c 2004-10-23 20:58:40.707928592 +0000
|
|||
@@ -20,6 +20,19 @@
|
|||
#include <linux/types.h> |
|||
#include <linux/hdreg.h> |
|||
#include <linux/major.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 "hdparm.h" |
@ -1,93 +0,0 @@ |
|||
diff -dur iproute2-ahu-20021020/ip/ipneigh.c iproute2-ahu-20021020-patch/ip/ipneigh.c
|
|||
--- iproute2-ahu-20021020/ip/ipneigh.c 2002-10-19 17:01:12.000000000 +0000
|
|||
+++ iproute2-ahu-20021020-patch/ip/ipneigh.c 2004-10-23 18:32:35.174492224 +0000
|
|||
@@ -24,6 +24,19 @@
|
|||
#include <net/if.h> |
|||
#include <sys/socket.h> |
|||
#include <netinet/in.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 <netinet/ip.h> |
|||
|
|||
#include "rt_names.h" |
|||
diff -dur iproute2-ahu-20021020/ip/iproute.c iproute2-ahu-20021020-patch/ip/iproute.c
|
|||
--- iproute2-ahu-20021020/ip/iproute.c 2002-10-19 17:01:12.000000000 +0000
|
|||
+++ iproute2-ahu-20021020-patch/ip/iproute.c 2004-10-23 18:26:54.951214024 +0000
|
|||
@@ -24,7 +24,20 @@
|
|||
#include <sys/time.h> |
|||
#include <sys/socket.h> |
|||
#include <netinet/in.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 <netinet/ip.h> |
|||
#include <arpa/inet.h> |
|||
#include <linux/in_route.h> |
|||
|
|||
diff -dur iproute2-ahu-20021020/ip/iprule.c iproute2-ahu-20021020-patch/ip/iprule.c
|
|||
--- iproute2-ahu-20021020/ip/iprule.c 2002-10-19 17:01:13.000000000 +0000
|
|||
+++ iproute2-ahu-20021020-patch/ip/iprule.c 2004-10-23 18:29:46.753096168 +0000
|
|||
@@ -21,6 +21,19 @@
|
|||
#include <fcntl.h> |
|||
#include <sys/socket.h> |
|||
#include <netinet/in.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 <netinet/ip.h> |
|||
#include <arpa/inet.h> |
|||
#include <string.h> |
|||
diff -dur iproute2-ahu-20021020/ip/iptunnel.c iproute2-ahu-20021020-patch/ip/iptunnel.c
|
|||
--- iproute2-ahu-20021020/ip/iptunnel.c 2002-10-19 17:01:13.000000000 +0000
|
|||
+++ iproute2-ahu-20021020-patch/ip/iptunnel.c 2004-10-23 18:32:03.606291320 +0000
|
|||
@@ -27,6 +26,19 @@
|
|||
#include <fcntl.h> |
|||
#include <sys/socket.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 <sys/ioctl.h> |
|||
#include <linux/if.h> |
|||
#include <linux/if_arp.h> |
|||
#include <netinet/in.h> |
@ -1,22 +0,0 @@ |
|||
diff -dur kiss-0.21/src/doeject.c kiss-0.21-patch/src/doeject.c
|
|||
--- kiss-0.21/src/doeject.c 2004-10-24 01:48:06.297957632 +0000
|
|||
+++ kiss-0.21-patch/src/doeject.c 2004-10-24 01:51:10.346977928 +0000
|
|||
@@ -4,6 +4,18 @@
|
|||
#define __attribute_const__ __attribute__ ((const)) |
|||
#endif |
|||
|
|||
+#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 <linux/cdrom.h> |
|||
|
|||
int doeject (Stringstack s) |
@ -0,0 +1,24 @@ |
|||
--- ./include/linux/byteorder/little_endian.h.orig 2004-11-21 18:54:27.344956208 +0100
|
|||
+++ ./include/linux/byteorder/little_endian.h 2004-11-21 18:54:36.247602800 +0100
|
|||
@@ -8,6 +8,21 @@
|
|||
#define __LITTLE_ENDIAN_BITFIELD |
|||
#endif |
|||
|
|||
+#ifndef __KERNEL__
|
|||
+/* fix for inclusion from userspace... :( */
|
|||
+#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
|
|||
+#endif
|
|||
+
|
|||
#include <linux/types.h> |
|||
#include <linux/byteorder/swab.h> |
|||
|
@ -1,22 +0,0 @@ |
|||
--- lshw-A.01.07/cdrom.cc 2004-05-11 22:14:35.000000000 +0000
|
|||
+++ lshw-A.01.07-p/cdrom.cc 2004-10-28 13:11:56.366827712 +0000
|
|||
@@ -4,6 +4,19 @@
|
|||
#include <sys/ioctl.h> |
|||
#include <fcntl.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 <linux/cdrom.h> |
|||
|
|||
static char *id = "@(#) $Id: cdrom.cc 598 2004-05-11 22:14:35Z ezix $"; |
@ -1,23 +0,0 @@ |
|||
diff -dur mine-0.19/gasgui.c mine-0.19-patch/gasgui.c
|
|||
--- mine-0.19/gasgui.c 2004-04-24 11:49:52.000000000 +0000
|
|||
+++ mine-0.19-patch/gasgui.c 2004-10-24 04:48:29.717547752 +0000
|
|||
@@ -27,6 +27,19 @@
|
|||
/* disk eject ... */ |
|||
#include <fcntl.h> |
|||
#include <sys/ioctl.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 <linux/cdrom.h> |
|||
|
|||
#ifndef ROCKCFG_ID |
@ -1,23 +0,0 @@ |
|||
diff -dur ppp-2.4.2b3/pppd/plugins/rp-pppoe/plugin.c ppp-2.4.2b3-p/pppd/plugins/rp-pppoe/plugin.c
|
|||
--- ppp-2.4.2b3/pppd/plugins/rp-pppoe/plugin.c 2003-04-07 00:01:46.000000000 +0000
|
|||
+++ ppp-2.4.2b3-p/pppd/plugins/rp-pppoe/plugin.c 2004-10-27 00:33:18.449399456 +0000
|
|||
@@ -50,6 +50,19 @@
|
|||
#include <net/if_arp.h> |
|||
#include "ppp_defs.h" |
|||
#include "if_ppp.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 "if_pppox.h" |
|||
|
|||
#define _PATH_ETHOPT _ROOT_PATH "/etc/ppp/options." |
@ -1,92 +0,0 @@ |
|||
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" |
@ -1,22 +0,0 @@ |
|||
--- util-linux-2.12h/partx/gpt.c 2002-08-04 00:20:16.000000000 +0000
|
|||
+++ util-linux-2.12h-patch/partx/gpt.c 2004-10-23 05:51:20.169235312 +0000
|
|||
@@ -33,6 +33,19 @@
|
|||
#include <fcntl.h> |
|||
#include <unistd.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 "crc32.h" |
|||
#include "gpt.h" |
@ -1,46 +0,0 @@ |
|||
diff -dur SDL-1.2.7/include/SDL_endian.h SDL-1.2.7-p/include/SDL_endian.h
|
|||
--- SDL-1.2.7/include/SDL_endian.h 2004-02-18 17:21:57.000000000 +0000
|
|||
+++ SDL-1.2.7-p/include/SDL_endian.h 2004-10-24 19:30:37.893242008 +0000
|
|||
@@ -57,6 +57,19 @@
|
|||
/* The macros used to swap values */ |
|||
/* Try to use superfast macros on systems that support them */ |
|||
#ifdef linux |
|||
+
|
|||
+#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> |
|||
#ifdef __arch__swab16 |
|||
#define SDL_Swap16 __arch__swab16 |
|||
diff -dur SDL-1.2.7/src/cdrom/linux/SDL_syscdrom.c SDL-1.2.7-p/src/cdrom/linux/SDL_syscdrom.c
|
|||
--- SDL-1.2.7/src/cdrom/linux/SDL_syscdrom.c 2004-02-18 17:21:59.000000000 +0000
|
|||
+++ SDL-1.2.7-p/src/cdrom/linux/SDL_syscdrom.c 2004-10-24 19:33:13.528581840 +0000
|
|||
@@ -37,6 +37,19 @@
|
|||
#include <errno.h> |
|||
#include <unistd.h> |
|||
#ifdef __linux__ |
|||
+
|
|||
+#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 <linux/cdrom.h> |
|||
#endif |
|||
#ifdef __SVR4 |
@ -1,22 +0,0 @@ |
|||
--- gnome-vfs-2.6.1.1/libgnomevfs/gnome-vfs-cdrom.c 2004-02-14 12:40:14.000000000 +0000
|
|||
+++ gnome-vfs-2.6.1.1/libgnomevfs/gnome-vfs-cdrom.c 2004-10-25 00:12:11.179072200 +0000
|
|||
@@ -36,6 +36,19 @@
|
|||
#include <libgnomevfs/gnome-vfs-i18n.h> |
|||
|
|||
#ifdef __linux__ |
|||
+
|
|||
+#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 <linux/cdrom.h> |
|||
#endif |
|||
|
@ -1,46 +0,0 @@ |
|||
diff -dur gst-plugins-0.8.2/sys/cdrom/gstcdplayer_ioctl.c gst-plugins-0.8.2-p/sys/cdrom/gstcdplayer_ioctl.c
|
|||
--- gst-plugins-0.8.2/sys/cdrom/gstcdplayer_ioctl.c 2004-03-14 22:34:30.000000000 +0000
|
|||
+++ gst-plugins-0.8.2-p/sys/cdrom/gstcdplayer_ioctl.c 2004-10-25 18:30:52.973436168 +0000
|
|||
@@ -40,6 +40,19 @@
|
|||
static gint cddb_sum (gint n); |
|||
|
|||
#if defined(HAVE_LINUX_CDROM_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 <linux/cdrom.h> |
|||
#elif defined(HAVE_SYS_CDIO_H) |
|||
#include <sys/cdio.h> |
|||
diff -dur gst-plugins-0.8.2/sys/vcd/vcdsrc.c gst-plugins-0.8.2-p/sys/vcd/vcdsrc.c
|
|||
--- gst-plugins-0.8.2/sys/vcd/vcdsrc.c 2004-05-30 12:26:23.000000000 +0000
|
|||
+++ gst-plugins-0.8.2-p/sys/vcd/vcdsrc.c 2004-10-25 18:30:11.102801472 +0000
|
|||
@@ -32,6 +32,19 @@
|
|||
#include <sys/types.h> |
|||
#include <dirent.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 <linux/cdrom.h> |
|||
|
|||
#include <vcdsrc.h> |
@ -1,22 +0,0 @@ |
|||
--- libmusicbrainz-2.1.1/osdep/mb_linux.h 2004-01-11 09:26:16.000000000 +0000
|
|||
+++ libmusicbrainz-2.1.1-p/osdep/mb_linux.h 2004-10-25 01:08:13.963851208 +0000
|
|||
@@ -33,6 +33,19 @@
|
|||
// Linux CD-audio declarations |
|||
// |
|||
|
|||
+
|
|||
+#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 <linux/cdrom.h> |
|||
|
|||
typedef char* MUSICBRAINZ_DEVICE; |
@ -1,23 +0,0 @@ |
|||
diff -dur k3b-0.11.17/src/device/k3bscsicommand.h k3b-0.11.17-p/src/device/k3bscsicommand.h
|
|||
--- k3b-0.11.17/src/device/k3bscsicommand.h 2004-01-21 10:20:11.000000000 +0000
|
|||
+++ k3b-0.11.17-p/src/device/k3bscsicommand.h 2004-10-26 20:54:50.798490672 +0000
|
|||
@@ -18,6 +18,19 @@
|
|||
|
|||
#include <sys/types.h> |
|||
#undef __STRICT_ANSI__ |
|||
+
|
|||
+#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 <linux/cdrom.h> |
|||
#define __STRICT_ANSI__ |
|||
|
@ -1,69 +0,0 @@ |
|||
diff -dur kdemultimedia-3.3.1/kioslave/audiocd/audiocd.cpp kdemultimedia-3.3.1-p/kioslave/audiocd/audiocd.cpp
|
|||
--- kdemultimedia-3.3.1/kioslave/audiocd/audiocd.cpp 2004-10-03 07:42:35.000000000 +0000
|
|||
+++ kdemultimedia-3.3.1-p/kioslave/audiocd/audiocd.cpp 2004-10-26 17:59:44.080754552 +0000
|
|||
@@ -52,6 +52,19 @@
|
|||
#endif |
|||
#undef __STRICT_ANSI__ |
|||
#include <asm/types.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 <linux/cdrom.h> |
|||
#endif |
|||
|
|||
diff -dur kdemultimedia-3.3.1/kscd/libwm/plat_linux.c kdemultimedia-3.3.1-p/kscd/libwm/plat_linux.c
|
|||
--- kdemultimedia-3.3.1/kscd/libwm/plat_linux.c 2004-07-17 19:09:14.000000000 +0000
|
|||
+++ kdemultimedia-3.3.1-p/kscd/libwm/plat_linux.c 2004-10-26 17:55:33.757809424 +0000
|
|||
@@ -81,6 +81,19 @@
|
|||
#define asm __asm__ |
|||
#define inline __inline__ |
|||
#include <asm/types.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 <linux/cdrom.h> |
|||
#undef asm |
|||
#undef inline |
|||
diff -dur kdemultimedia-3.3.1/mpeglib/lib/input/cdromAccess_Linux.cpp kdemultimedia-3.3.1-p/mpeglib/lib/input/cdromAccess_Linux.cpp
|
|||
--- kdemultimedia-3.3.1/mpeglib/lib/input/cdromAccess_Linux.cpp 2004-05-22 20:56:58.000000000 +0000
|
|||
+++ kdemultimedia-3.3.1-p/mpeglib/lib/input/cdromAccess_Linux.cpp 2004-10-26 17:39:02.000000000 +0000
|
|||
@@ -14,6 +14,19 @@
|
|||
#include "cdromToc.h" |
|||
#include "cdromRawAccess.h" |
|||
#include <asm/types.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 <linux/cdrom.h> |
|||
#include <sys/ioctl.h> |
|||
|
@ -1,134 +0,0 @@ |
|||
diff -dur cdparanoia-III-alpha9.8/interface/common_interface.c cdparanoia-III-alpha9.8-p/interface/common_interface.c
|
|||
--- cdparanoia-III-alpha9.8/interface/common_interface.c 2000-04-19 22:41:04.000000000 +0000
|
|||
+++ cdparanoia-III-alpha9.8-p/interface/common_interface.c 2004-10-24 05:35:57.879561312 +0000
|
|||
@@ -9,6 +9,19 @@
|
|||
******************************************************************/ |
|||
|
|||
#include <math.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 "low_interface.h" |
|||
#include "utils.h" |
|||
#include "smallft.h" |
|||
diff -dur cdparanoia-III-alpha9.8/interface/cooked_interface.c cdparanoia-III-alpha9.8-p/interface/cooked_interface.c
|
|||
--- cdparanoia-III-alpha9.8/interface/cooked_interface.c 2000-04-19 22:41:04.000000000 +0000
|
|||
+++ cdparanoia-III-alpha9.8-p/interface/cooked_interface.c 2004-10-24 05:36:30.088664784 +0000
|
|||
@@ -6,6 +6,18 @@
|
|||
* |
|||
******************************************************************/ |
|||
|
|||
+#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 "low_interface.h" |
|||
#include "common_interface.h" |
|||
#include "utils.h" |
|||
diff -dur cdparanoia-III-alpha9.8/interface/interface.c cdparanoia-III-alpha9.8-p/interface/interface.c
|
|||
--- cdparanoia-III-alpha9.8/interface/interface.c 2000-04-19 22:41:04.000000000 +0000
|
|||
+++ cdparanoia-III-alpha9.8-p/interface/interface.c 2004-10-24 05:36:43.356647744 +0000
|
|||
@@ -9,6 +9,18 @@
|
|||
* |
|||
******************************************************************/ |
|||
|
|||
+#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 "low_interface.h" |
|||
#include "common_interface.h" |
|||
#include "utils.h" |
|||
diff -dur cdparanoia-III-alpha9.8/interface/scan_devices.c cdparanoia-III-alpha9.8-p/interface/scan_devices.c
|
|||
--- cdparanoia-III-alpha9.8/interface/scan_devices.c 2001-03-26 05:44:01.000000000 +0000
|
|||
+++ cdparanoia-III-alpha9.8-p/interface/scan_devices.c 2004-10-24 05:35:20.858189416 +0000
|
|||
@@ -15,6 +15,19 @@
|
|||
#include <sys/stat.h> |
|||
#include <sys/types.h> |
|||
#include "cdda_interface.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 "low_interface.h" |
|||
#include "common_interface.h" |
|||
#include "utils.h" |
|||
diff -dur cdparanoia-III-alpha9.8/interface/scsi_interface.c cdparanoia-III-alpha9.8-p/interface/scsi_interface.c
|
|||
--- cdparanoia-III-alpha9.8/interface/scsi_interface.c 2001-03-24 01:15:46.000000000 +0000
|
|||
+++ cdparanoia-III-alpha9.8-p/interface/scsi_interface.c 2004-10-24 05:36:56.068715216 +0000
|
|||
@@ -8,6 +8,18 @@
|
|||
* |
|||
******************************************************************/ |
|||
|
|||
+#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 "low_interface.h" |
|||
#include "common_interface.h" |
|||
#include "utils.h" |
|||
diff -dur cdparanoia-III-alpha9.8/interface/toc.c cdparanoia-III-alpha9.8-p/interface/toc.c
|
|||
--- cdparanoia-III-alpha9.8/interface/toc.c 1999-08-15 22:32:32.000000000 +0000
|
|||
+++ cdparanoia-III-alpha9.8-p/interface/toc.c 2004-10-24 05:37:10.818472912 +0000
|
|||
@@ -7,6 +7,18 @@
|
|||
* |
|||
******************************************************************/ |
|||
|
|||
+#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 "low_interface.h" |
|||
#include "utils.h" |
|||
|
@ -1,23 +0,0 @@ |
|||
diff -dur libdvdcss-1.2.8/src/ioctl.c libdvdcss-1.2.8-p/src/ioctl.c
|
|||
--- libdvdcss-1.2.8/src/ioctl.c 2003-03-09 23:34:10.000000000 +0000
|
|||
+++ libdvdcss-1.2.8-p/src/ioctl.c 2004-10-24 07:27:16.613239464 +0000
|
|||
@@ -60,6 +60,19 @@
|
|||
# include <sys/dvdio.h> |
|||
#endif |
|||
#ifdef DVD_STRUCT_IN_LINUX_CDROM_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 <linux/cdrom.h> |
|||
#endif |
|||
#ifdef DVD_STRUCT_IN_DVD_H |
@ -1,22 +0,0 @@ |
|||
--- valgrind-2.2.0/coregrind/vg_unsafe.h 2004-08-29 21:02:28.000000000 +0000
|
|||
+++ valgrind-2.2.0-p/coregrind/vg_unsafe.h 2004-10-24 08:47:50.959307152 +0000
|
|||
@@ -60,6 +67,19 @@
|
|||
#include <scsi/sg.h> /* for the SG_* ioctls */ |
|||
#include <sched.h> /* for struct sched_param */ |
|||
#include <linux/sysctl.h> /* for struct __sysctl_args */ |
|||
+
|
|||
+#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 <linux/cdrom.h> /* for cd-rom ioctls */ |
|||
#include <signal.h> /* for siginfo_t */ |
|||
#include <linux/timex.h> /* for adjtimex */ |
@ -1,115 +0,0 @@ |
|||
diff -dur xine-lib-1-rc6a/src/input/input_cdda.c xine-lib-1-rc6a-p/src/input/input_cdda.c |
|||
--- xine-lib-1-rc6a/src/input/input_cdda.c 2004-09-07 22:48:11.000000000 +0000 |
|||
+++ xine-lib-1-rc6a-p/src/input/input_cdda.c 2004-10-26 00:07:21.000000000 +0000 |
|||
@@ -382,6 +382,19 @@ |
|||
|
|||
#if defined (__linux__) |
|||
|
|||
+ |
|||
+#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 <linux/cdrom.h> |
|||
|
|||
static int read_cdrom_toc(int fd, cdrom_toc *toc) { |
|||
diff -dur xine-lib-1-rc6a/src/input/input_dvd.c xine-lib-1-rc6a-p/src/input/input_dvd.c |
|||
--- xine-lib-1-rc6a/src/input/input_dvd.c 2004-09-16 13:57:37.000000000 +0000 |
|||
+++ xine-lib-1-rc6a-p/src/input/input_dvd.c 2004-10-26 00:03:01.000000000 +0000 |
|||
@@ -69,6 +69,19 @@ |
|||
#include <sys/dvdio.h> |
|||
#include <sys/cdio.h> /* CDIOCALLOW etc... */ |
|||
#elif defined(HAVE_LINUX_CDROM_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 <linux/cdrom.h> |
|||
#elif defined(HAVE_SYS_CDIO_H) |
|||
#include <sys/cdio.h> |
|||
diff -dur xine-lib-1-rc6a/src/input/input_vcd.c xine-lib-1-rc6a-p/src/input/input_vcd.c |
|||
--- xine-lib-1-rc6a/src/input/input_vcd.c 2004-07-24 01:22:17.000000000 +0000 |
|||
+++ xine-lib-1-rc6a-p/src/input/input_vcd.c 2004-10-26 00:04:34.000000000 +0000 |
|||
@@ -34,6 +34,19 @@ |
|||
#include <sys/ioctl.h> |
|||
#include <string.h> |
|||
#ifdef HAVE_LINUX_CDROM_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 <linux/cdrom.h> |
|||
#endif |
|||
#ifdef HAVE_SYS_CDIO_H |
|||
diff -dur xine-lib-1-rc6a/src/input/media_helper.c xine-lib-1-rc6a-p/src/input/media_helper.c |
|||
--- xine-lib-1-rc6a/src/input/media_helper.c 2004-09-03 16:02:05.000000000 +0000 |
|||
+++ xine-lib-1-rc6a-p/src/input/media_helper.c 2004-10-26 00:04:01.000000000 +0000 |
|||
@@ -39,6 +39,19 @@ |
|||
#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) |
|||
#include <sys/cdio.h> /* CDIOCALLOW etc... */ |
|||
#elif defined(HAVE_LINUX_CDROM_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 <linux/cdrom.h> |
|||
#elif defined(HAVE_SYS_CDIO_H) |
|||
#include <sys/cdio.h> |
|||
diff -dur xine-lib-1-rc6a/src/input/vcd/libcdio/_cdio_linux.c xine-lib-1-rc6a-p/src/input/vcd/libcdio/_cdio_linux.c |
|||
--- xine-lib-1-rc6a/src/input/vcd/libcdio/_cdio_linux.c 2004-04-12 02:03:08.000000000 +0000 |
|||
+++ xine-lib-1-rc6a-p/src/input/vcd/libcdio/_cdio_linux.c 2004-10-25 23:25:28.000000000 +0000 |
|||
@@ -57,6 +57,19 @@ |
|||
#include <fcntl.h> |
|||
#include <mntent.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 <linux/cdrom.h> |
|||
#include <scsi/scsi.h> |
|||
#include <scsi/sg.h> |
@ -1,23 +0,0 @@ |
|||
diff -dur xmms-1.2.10/Input/cdaudio/cdaudio.h xmms-1.2.10-p/Input/cdaudio/cdaudio.h
|
|||
--- xmms-1.2.10/Input/cdaudio/cdaudio.h 2004-01-27 23:09:39.000000000 +0000
|
|||
+++ xmms-1.2.10-p/Input/cdaudio/cdaudio.h 2004-10-24 08:26:33.177559504 +0000
|
|||
@@ -57,6 +57,19 @@
|
|||
#endif |
|||
|
|||
#ifdef HAVE_LINUX_CDROM_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 <linux/cdrom.h> |
|||
#elif defined HAVE_SYS_CDIO_H |
|||
#include <sys/cdio.h> |