changeset 30549:11106186d92c

VIDIX: Mark some functions not used outside their files as static.
author diego
date Tue, 16 Feb 2010 13:04:00 +0000
parents cbbbe3d58f4c
children ddab7b946042
files vidix/nvidia_vid.c vidix/vidix.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/nvidia_vid.c	Tue Feb 16 11:31:29 2010 +0000
+++ b/vidix/nvidia_vid.c	Tue Feb 16 13:04:00 2010 +0000
@@ -441,12 +441,14 @@
 };
 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);
 }
--- a/vidix/vidix.c	Tue Feb 16 11:31:29 2010 +0000
+++ b/vidix/vidix.c	Tue Feb 16 13:04:00 2010 +0000
@@ -153,7 +153,7 @@
   return ctx->drv->set_eq ? ctx->drv->set_eq (e) : ENOSYS;
 }
 
-int vdlPlaybackCopyFrame (VDXContext *ctx, const vidix_dma_t *f)
+static int vdlPlaybackCopyFrame(VDXContext *ctx, const vidix_dma_t *f)
 {
   return ctx->drv->copy_frame ? ctx->drv->copy_frame (f) : ENOSYS;
 }