diff options
Diffstat (limited to 'vidix')
-rw-r--r-- | vidix/.gitignore | 5 | ||||
-rw-r--r-- | vidix/drivers.c | 1 | ||||
-rw-r--r-- | vidix/nvidia_vid.c | 5 | ||||
-rw-r--r-- | vidix/sysdep/pci_alpha.c | 1 |
4 files changed, 8 insertions, 4 deletions
diff --git a/vidix/.gitignore b/vidix/.gitignore new file mode 100644 index 0000000000..96d02a288a --- /dev/null +++ b/vidix/.gitignore @@ -0,0 +1,5 @@ +/pci_dev_ids.c +/pci_ids.h +/pci_names.c +/pci_names.h +/pci_vendors.h diff --git a/vidix/drivers.c b/vidix/drivers.c index 428b2d7ca4..559dee30e0 100644 --- a/vidix/drivers.c +++ b/vidix/drivers.c @@ -24,6 +24,7 @@ #include <errno.h> #include <string.h> +#include "drivers.h" #include "config.h" #include "vidix.h" #include "libavutil/common.h" diff --git a/vidix/nvidia_vid.c b/vidix/nvidia_vid.c index 227fbcf6ef..79f3880ebd 100644 --- a/vidix/nvidia_vid.c +++ b/vidix/nvidia_vid.c @@ -441,12 +441,12 @@ struct rivatv_info { }; typedef struct rivatv_info rivatv_info; -uint8_t nvReadVGA (struct rivatv_chip *chip, int index) { +static uint8_t nvReadVGA (struct rivatv_chip *chip, int index) { VID_WR08 (chip->PCIO, 0x3D4, index); return VID_RD08 (chip->PCIO, 0x3D5); } -void nvWriteVGA (struct rivatv_chip *chip, int index, int data) { +static void nvWriteVGA (struct rivatv_chip *chip, int index, int data) { VID_WR08 (chip->PCIO, 0x3D4, index); VID_WR08 (chip->PCIO, 0x3D5, data); } @@ -1149,4 +1149,3 @@ int main(int argc,char* argv[]){ } #endif - diff --git a/vidix/sysdep/pci_alpha.c b/vidix/sysdep/pci_alpha.c index 997aaa70a1..74839e3625 100644 --- a/vidix/sysdep/pci_alpha.c +++ b/vidix/sysdep/pci_alpha.c @@ -26,4 +26,3 @@ static long pci_config_read_long( pciconfig_read(bus, dev<<3, cmd, 4, &retval); return retval; } - |