[Ffmpeg-cvslog] CVS: ffmpeg/vhook ppm.c,1.7,1.8

Måns Rullgård CVS mru
Tue Jan 31 00:33:22 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/vhook
In directory mail:/var2/tmp/cvs-serv24981/vhook

Modified Files:
	ppm.c 
Log Message:
add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>


Index: ppm.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/vhook/ppm.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ppm.c	12 Jan 2006 22:43:26 -0000	1.7
+++ ppm.c	30 Jan 2006 23:33:19 -0000	1.8
@@ -40,7 +40,7 @@
 /** Create a bidirectional pipe for the given command.
 */
 
-rwpipe *rwpipe_open( int argc, char *argv[] )
+static rwpipe *rwpipe_open( int argc, char *argv[] )
 {
     rwpipe *this = av_mallocz( sizeof( rwpipe ) );
 
@@ -94,7 +94,7 @@
 /** Read data from the pipe.
 */
 
-FILE *rwpipe_reader( rwpipe *this )
+static FILE *rwpipe_reader( rwpipe *this )
 {
     if ( this != NULL )
         return this->reader;
@@ -105,7 +105,7 @@
 /** Write data to the pipe.
 */
 
-FILE *rwpipe_writer( rwpipe *this )
+static FILE *rwpipe_writer( rwpipe *this )
 {
     if ( this != NULL )
         return this->writer;
@@ -116,7 +116,7 @@
 /* Read a number from the pipe - assumes PNM style headers.
 */
 
-int rwpipe_read_number( rwpipe *rw )
+static int rwpipe_read_number( rwpipe *rw )
 {
     int value = 0;
     int c = 0;
@@ -147,7 +147,7 @@
 /** Read a PPM P6 header.
 */
 
-int rwpipe_read_ppm_header( rwpipe *rw, int *width, int *height )
+static int rwpipe_read_ppm_header( rwpipe *rw, int *width, int *height )
 {
     char line[ 3 ];
     FILE *in = rwpipe_reader( rw );
@@ -167,7 +167,7 @@
 /** Close the pipe and process.
 */
 
-void rwpipe_close( rwpipe *this )
+static void rwpipe_close( rwpipe *this )
 {
     if ( this != NULL )
     {





More information about the ffmpeg-cvslog mailing list