diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-08 15:26:36 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-08 15:26:36 +0000 |
commit | 5c9b90d7a12e90e7a0aa2af8686b20bfa24742c4 (patch) | |
tree | 5081051a4121e0c929ff471684703d4ddc821236 /libvo/vo_pnm.c | |
parent | 01d52892036af77202db76fe86e808453d554533 (diff) | |
download | mpv-5c9b90d7a12e90e7a0aa2af8686b20bfa24742c4.tar.bz2 mpv-5c9b90d7a12e90e7a0aa2af8686b20bfa24742c4.tar.xz |
Make some functions static.
Patch by Stefan Huehner, stefan at huehner org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18955 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_pnm.c')
-rw-r--r-- | libvo/vo_pnm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/vo_pnm.c b/libvo/vo_pnm.c index 26054a2b86..da5afb906e 100644 --- a/libvo/vo_pnm.c +++ b/libvo/vo_pnm.c @@ -96,7 +96,7 @@ char *pnm_file_extension = NULL; * \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 @@ static int preinit(const char *arg) * 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 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, * \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 @@ void pnm_write_pnm(FILE *outfile, mp_image_t *mpi) * \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]; |