comparison gui/mplayer/gui_common.c @ 32975:0dc9d64cd64e

Make functions static that are only used inside the file.
author ib
date Wed, 09 Mar 2011 15:36:10 +0000
parents 9346b986c721
children 4905f5a87357
comparison
equal deleted inserted replaced
32974:5509eb454848 32975:0dc9d64cd64e
105 tmp[i] = (char)(tmp[i] + t); 105 tmp[i] = (char)(tmp[i] + t);
106 } 106 }
107 } 107 }
108 } 108 }
109 109
110 char *Translate(char *str) 110 static char *Translate(char *str)
111 { 111 {
112 static char trbuf[512]; 112 static char trbuf[512];
113 char tmp[512]; 113 char tmp[512];
114 unsigned int i, c; 114 unsigned int i, c;
115 int t; 115 int t;
308 } 308 }
309 309
310 return trbuf; 310 return trbuf;
311 } 311 }
312 312
313 void PutImage(txSample *bf, int x, int y, int max, int ofs) 313 static void PutImage(txSample *bf, int x, int y, int max, int ofs)
314 { 314 {
315 int i = 0, ix, iy; 315 int i = 0, ix, iy;
316 uint32_t *buf = NULL; 316 uint32_t *buf = NULL;
317 uint32_t *drw = NULL; 317 uint32_t *drw = NULL;
318 register uint32_t tmp; 318 register uint32_t tmp;
348 yc += image_width; 348 yc += image_width;
349 } 349 }
350 #endif 350 #endif
351 } 351 }
352 352
353 void SimplePotmeterPutImage(txSample *bf, int x, int y, float frac) 353 static void SimplePotmeterPutImage(txSample *bf, int x, int y, float frac)
354 { 354 {
355 int i = 0, w, r, ix, iy; 355 int i = 0, w, r, ix, iy;
356 uint32_t *buf = NULL; 356 uint32_t *buf = NULL;
357 uint32_t *drw = NULL; 357 uint32_t *drw = NULL;
358 register uint32_t tmp; 358 register uint32_t tmp;