[MPlayer-cvslog] r33062 - in trunk/gui/mplayer: gui_common.c gui_common.h
ib
subversion at mplayerhq.hu
Wed Mar 9 16:36:11 CET 2011
Author: ib
Date: Wed Mar 9 16:36:10 2011
New Revision: 33062
Log:
Make functions static that are only used inside the file.
Modified:
trunk/gui/mplayer/gui_common.c
trunk/gui/mplayer/gui_common.h
Modified: trunk/gui/mplayer/gui_common.c
==============================================================================
--- trunk/gui/mplayer/gui_common.c Wed Mar 9 15:15:14 2011 (r33061)
+++ trunk/gui/mplayer/gui_common.c Wed Mar 9 16:36:10 2011 (r33062)
@@ -107,7 +107,7 @@ static void TranslateFilename(int c, cha
}
}
-char *Translate(char *str)
+static char *Translate(char *str)
{
static char trbuf[512];
char tmp[512];
@@ -310,7 +310,7 @@ calclengthmmmmss:
return trbuf;
}
-void PutImage(txSample *bf, int x, int y, int max, int ofs)
+static void PutImage(txSample *bf, int x, int y, int max, int ofs)
{
int i = 0, ix, iy;
uint32_t *buf = NULL;
@@ -350,7 +350,7 @@ void PutImage(txSample *bf, int x, int y
#endif
}
-void SimplePotmeterPutImage(txSample *bf, int x, int y, float frac)
+static void SimplePotmeterPutImage(txSample *bf, int x, int y, float frac)
{
int i = 0, w, r, ix, iy;
uint32_t *buf = NULL;
Modified: trunk/gui/mplayer/gui_common.h
==============================================================================
--- trunk/gui/mplayer/gui_common.h Wed Mar 9 15:15:14 2011 (r33061)
+++ trunk/gui/mplayer/gui_common.h Wed Mar 9 16:36:10 2011 (r33062)
@@ -23,9 +23,6 @@
#define DLABEL_DELAY 2500 // in milliseconds
-void PutImage(txSample *bf, int x, int y, int max, int ofs);
void Render(wsTWindow *window, wItem *Items, int nrItems, char *db, int size);
-void SimplePotmeterPutImage(txSample *bf, int x, int y, float frac);
-char *Translate(char *str);
#endif /* MPLAYER_GUI_GUI_COMMON_H */
More information about the MPlayer-cvslog
mailing list