When invoking Data, Data16 and Data32 from XChangeDeviceProperty,
we must cast the data pointer to the right type, but we do not need
to cast constness away. This change allows to enable -Wcast-qual on
the build and have it complete without warnings.
Signed-off-by: Javier Pello
---
src
dP.h be generated at configure time, so that old packages
continue to build against newer libXaw3d.
Signed-off-by: Javier Pello
---
.gitignore | 1 +
configure.ac| 12
include/Makefile.am |
y for those old
> packages by restoring the defines in Xaw3dP.h.
>
> Javier Pello (2):
> Fix --enable-feature options in configure
> Restore recording of build options in Xaw3dP.h
>
> .gitignore | 1 +
> configure.ac
API compatibility for those old
packages by restoring the defines in Xaw3dP.h.
Javier Pello (2):
Fix --enable-feature options in configure
Restore recording of build options in Xaw3dP.h
.gitignore | 1 +
configure.ac| 31
. Restore this behaviour by
making Xaw3dP.h be generated at configure time, so that old packages
continue to build against newer libXaw3d.
Signed-off-by: Javier Pello
---
.gitignore | 1 +
configure.ac| 12
include
Make --disable-feature options passed to configure not enable
the feature but keep it disabled instead.
Signed-off-by: Javier Pello
---
configure.ac | 23 +--
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index a38ce7ff..32e21e97
On Fri, 2011-10-07 at 10:18:20 -0700, Jeremy Huddleston wrote:
> +char name[PATH_MAX];
> +int flags = O_RDONLY;
> +int prot = PROT_READ;
> +int fd;
> +int ret=0;
> +
> +if (map_flags & PCI_DEV_MAP_FLAG_WRITABLE) {
> + flags |= O_WRONLY;
> + prot |= PROT_WRITE;
> +