[MPlayer-cvslog] r30591 - in trunk/vidix: nvidia_vid.c vidix.c

diego subversion at mplayerhq.hu
Tue Feb 16 14:04:00 CET 2010


Author: diego
Date: Tue Feb 16 14:04:00 2010
New Revision: 30591

Log:
VIDIX: Mark some functions not used outside their files as static.

Modified:
   trunk/vidix/nvidia_vid.c
   trunk/vidix/vidix.c

Modified: trunk/vidix/nvidia_vid.c
==============================================================================
--- trunk/vidix/nvidia_vid.c	Tue Feb 16 12:31:29 2010	(r30590)
+++ trunk/vidix/nvidia_vid.c	Tue Feb 16 14:04:00 2010	(r30591)
@@ -441,12 +441,14 @@ 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);
 }

Modified: trunk/vidix/vidix.c
==============================================================================
--- trunk/vidix/vidix.c	Tue Feb 16 12:31:29 2010	(r30590)
+++ trunk/vidix/vidix.c	Tue Feb 16 14:04:00 2010	(r30591)
@@ -153,7 +153,7 @@ int vdlPlaybackSetEq (VDXContext *ctx, c
   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;
 }


More information about the MPlayer-cvslog mailing list