Mercurial > mplayer.hg
diff libvo/vo_pnm.c @ 18950:a943bc3f26c8
Make some functions static.
Patch by Stefan Huehner, stefan at huehner org.
author | uau |
---|---|
date | Sat, 08 Jul 2006 15:26:36 +0000 |
parents | fd51fd1ff231 |
children | fe8e46e02125 |
line wrap: on
line diff
--- a/libvo/vo_pnm.c Sat Jul 08 15:00:37 2006 +0000 +++ b/libvo/vo_pnm.c Sat Jul 08 15:26:36 2006 +0000 @@ -96,7 +96,7 @@ * \return nothing It does not return. */ -void pnm_write_error(void) { +static void pnm_write_error(void) { mp_msg(MSGT_VO, MSGL_ERR, MSGTR_ErrorWritingFile, info.short_name); exit_player(MSGTR_Exit_error); } @@ -197,7 +197,7 @@ * returns, everything went well. */ -void pnm_mkdir(char *buf, int verbose) { +static void pnm_mkdir(char *buf, int verbose) { struct stat stat_p; /* Silly MING32 bug workaround */ @@ -298,7 +298,7 @@ * \return none The player will exit if anything goes wrong. */ -void pnm_write_pnm(FILE *outfile, mp_image_t *mpi) +static void pnm_write_pnm(FILE *outfile, mp_image_t *mpi) { uint32_t w = mpi->w; uint32_t h = mpi->h; @@ -433,7 +433,7 @@ * \return none The player will exit if anything goes wrong. */ -void pnm_write_image(mp_image_t *mpi) +static void pnm_write_image(mp_image_t *mpi) { static int framenum = 0, framecounter = 0, subdircounter = 0; char buf[BUFLENGTH];