Mercurial > mplayer.hg
diff TOOLS/vfw2menc.c @ 26575:1ca484e74f18
Mark all functions that are only used within the file as static.
author | diego |
---|---|
date | Wed, 30 Apr 2008 13:53:40 +0000 |
parents | c3839c904be4 |
children | 647abf37a825 |
line wrap: on
line diff
--- a/TOOLS/vfw2menc.c Wed Apr 30 12:38:38 2008 +0000 +++ b/TOOLS/vfw2menc.c Wed Apr 30 13:53:40 2008 +0000 @@ -59,7 +59,7 @@ MODE_VIEW }; -int save_settings(HDRVR hDriver, const char *filename) +static int save_settings(HDRVR hDriver, const char *filename) { FILE *fd = NULL; DWORD cb = (DWORD) SendDriverMessage(hDriver, ICM_GETSTATE, 0, 0); @@ -99,7 +99,7 @@ return 0; } -int load_settings(HDRVR hDriver, const char *filename) +static int load_settings(HDRVR hDriver, const char *filename) { struct stat info; FILE *fd = NULL; @@ -150,7 +150,7 @@ { 0, 0, 0, 0 } }; -void help(const char *progname) +static void help(const char *progname) { printf("VFW to mencoder v"VERSION" - Copyright 2007 - Gianluigi Tiesi <sherpya@netfarm.it>\n"); printf("This program is Free Software\n\n");