diff options
author | Dieter <freebsd@sopwith.solgatos.com> | 2006-01-30 23:33:19 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-01-30 23:33:19 +0000 |
commit | ceaf1909c19431e9b089535fae32a7f8d185d802 (patch) | |
tree | 31c243ba9963b4df69d09d6f6a46acf407ca551c /vhook/ppm.c | |
parent | a851b8e898fa1d2d44660ca5708e3da76107f179 (diff) | |
download | ffmpeg-ceaf1909c19431e9b089535fae32a7f8d185d802.tar.gz |
add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>
Originally committed as revision 4913 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook/ppm.c')
-rw-r--r-- | vhook/ppm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vhook/ppm.c b/vhook/ppm.c index a9de8c9d4f..ef5fd837a1 100644 --- a/vhook/ppm.c +++ b/vhook/ppm.c @@ -40,7 +40,7 @@ rwpipe; /** 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 @@ rwpipe *rwpipe_open( int argc, char *argv[] ) /** 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 @@ FILE *rwpipe_reader( rwpipe *this ) /** 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 @@ FILE *rwpipe_writer( rwpipe *this ) /* 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 @@ int rwpipe_read_number( rwpipe *rw ) /** 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 @@ int rwpipe_read_ppm_header( rwpipe *rw, int *width, int *height ) /** Close the pipe and process. */ -void rwpipe_close( rwpipe *this ) +static void rwpipe_close( rwpipe *this ) { if ( this != NULL ) { |