summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-08 14:53:18 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-08 14:53:18 +0000
commit319097c5dc97cdb935af919bf41e58504cb6ece9 (patch)
tree2c54c1f3768b67be9e3336e307a372c7327d0cc7 /vidix
parent625d77f9fc27227d326ff757575434fe3bae01f8 (diff)
downloadmpv-319097c5dc97cdb935af919bf41e58504cb6ece9.tar.bz2
mpv-319097c5dc97cdb935af919bf41e58504cb6ece9.tar.xz
Add comments to a few #endif preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27037 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/pci.c6
-rw-r--r--vidix/sysdep/pci_linux.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/vidix/pci.c b/vidix/pci.c
index a68eae7e32..1d0cc5aa01 100644
--- a/vidix/pci.c
+++ b/vidix/pci.c
@@ -159,7 +159,7 @@ int pciconfig_write(
}
return PCIBIOS_SUCCESSFUL;
}
-#endif
+#endif /* defined(Lynx) && defined(__powerpc__) */
#if !defined(__powerpc__)
struct pci_config_reg {
@@ -437,7 +437,7 @@ struct pci_config_reg {
unsigned short _configtype; /* config type found */
unsigned long _cardnum; /* config type 2 - private card number */
};
-#endif
+#endif /* !defined(__powerpc__) */
#define MAX_DEV_PER_VENDOR_CFG1 64
#define MAX_PCI_DEVICES_PER_BUS 32
@@ -489,7 +489,7 @@ static int pcibus=-1, pcicard=-1, pcifunc=-1 ;
#else
#include "sysdep/pci_x86.c"
#endif
-#endif
+#endif /*CONFIG_SVGAHELPER */
static pciinfo_t *pci_lst;
diff --git a/vidix/sysdep/pci_linux.c b/vidix/sysdep/pci_linux.c
index a4eb3ebdde..aca99573db 100644
--- a/vidix/sysdep/pci_linux.c
+++ b/vidix/sysdep/pci_linux.c
@@ -86,7 +86,7 @@ static int pci_get_vendor(
{
return pci_config_read_long(bus, dev, func, 0);
}
-#endif
+#endif /* CONFIG_SVGAHELPER */
static __inline__ int enable_os_io(void)
{
@@ -210,4 +210,4 @@ static long pci_config_read_long(
}
return retval;
}
-#endif
+#endif /* defined(CONFIG_PCI_LINUX_PROC) */