Module Name:    xsrc
Committed By:   wiz
Date:           Wed Jun 12 09:59:11 UTC 2013

Modified Files:
        xsrc/external/mit/libpciaccess/dist/src: common_interface.c

Log Message:
Re-add const in correct place (reduce diff to upstream).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    xsrc/external/mit/libpciaccess/dist/src/common_interface.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libpciaccess/dist/src/common_interface.c
diff -u xsrc/external/mit/libpciaccess/dist/src/common_interface.c:1.3 xsrc/external/mit/libpciaccess/dist/src/common_interface.c:1.4
--- xsrc/external/mit/libpciaccess/dist/src/common_interface.c:1.3	Sat Jun  1 09:03:25 2013
+++ xsrc/external/mit/libpciaccess/dist/src/common_interface.c	Wed Jun 12 09:59:11 2013
@@ -268,7 +268,7 @@ pci_device_map_range(struct pci_device *
 
 
     for (region = 0; region < 6; region++) {
-        const struct pci_mem_region * r = &dev->regions[region];
+        const struct pci_mem_region * const r = &dev->regions[region];
 
         if (r->size != 0) {
             if ((r->base_addr <= base) && ((r->base_addr + r->size) > base)) {

Reply via email to