changeset 32948:dc026d74dfce

Add variable names to prototype declarations.
author ib
date Sun, 06 Mar 2011 13:57:21 +0000
parents 0e4fd1834f76
children ca6dcdb31fa1
files gui/app.h gui/bitmap.h gui/mplayer/play.h gui/skin/cut.h gui/skin/font.h gui/skin/skin.h
diffstat 6 files changed, 20 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/gui/app.h	Sun Mar 06 13:04:07 2011 +0000
+++ b/gui/app.h	Sun Mar 06 13:57:21 2011 +0000
@@ -192,10 +192,10 @@
 
 extern guiItems appMPlayer;
 
-int appFindMessage(unsigned char *);
+int appFindMessage(unsigned char *str);
 void appFreeStruct(void);
 void appInitStruct(void);
-void btnModify(int, float);
-void btnSet(int, int);
+void btnModify(int event, float state);
+void btnSet(int event, int set);
 
 #endif /* MPLAYER_GUI_APP_H */
--- a/gui/bitmap.h	Sun Mar 06 13:04:07 2011 +0000
+++ b/gui/bitmap.h	Sun Mar 06 13:57:21 2011 +0000
@@ -27,8 +27,8 @@
     char *Image;
 } txSample;
 
-void bpFree(txSample *);
-int bpRead(char *, txSample *);
-void Convert32to1(txSample *, txSample *, int);
+void bpFree(txSample *bf);
+int bpRead(char *fname, txSample *bf);
+void Convert32to1(txSample *in, txSample *out, int adaptivlimit);
 
 #endif /* MPLAYER_GUI_BITMAP_H */
--- a/gui/mplayer/play.h	Sun Mar 06 13:04:07 2011 +0000
+++ b/gui/mplayer/play.h	Sun Mar 06 13:57:21 2011 +0000
@@ -21,8 +21,8 @@
 
 extern int mplGotoTheNext;
 
-void ChangeSkin(char *);
-void mplAbsSeek(float);
+void ChangeSkin(char *name);
+void mplAbsSeek(float s);
 void mplCurr(void);
 void mplEnd(void);
 void mplFullScreen(void);
@@ -30,8 +30,8 @@
 void mplPause(void);
 void mplPlay(void);
 void mplPrev(void);
-void mplRelSeek(float);
-void mplSetFileName(char *, char *, int);
+void mplRelSeek(float s);
+void mplSetFileName(char *dir, char *name, int type);
 void mplState(void);
 
 #endif /* MPLAYER_GUI_PLAY_H */
--- a/gui/skin/cut.h	Sun Mar 06 13:04:07 2011 +0000
+++ b/gui/skin/cut.h	Sun Mar 06 13:57:21 2011 +0000
@@ -23,7 +23,7 @@
 
 #define cutItem(in, out, sep, num) cutItemString(in, out, sep, num, sizeof(out))
 
-void cutItemString(char *, char *, char, int, size_t);
-int cutItemToInt(char *, char, int);
+void cutItemString(char *in, char *out, char sep, int num, size_t maxout);
+int cutItemToInt(char *in, char sep, int num);
 
 #endif /* MPLAYER_GUI_CUT_H */
--- a/gui/skin/font.h	Sun Mar 06 13:04:07 2011 +0000
+++ b/gui/skin/font.h	Sun Mar 06 13:57:21 2011 +0000
@@ -45,10 +45,10 @@
     char name[MAX_FONT_NAME];
 } bmpFont;
 
-int fntFindID(char *);
+int fntFindID(char *name);
 void fntFreeFont(void);
-int fntRead(char *, char *);
-txSample *fntRender(wItem *, int, char *);
-int fntTextWidth(int, char *);
+int fntRead(char *path, char *fname);
+txSample *fntRender(wItem *item, int px, char *txt);
+int fntTextWidth(int id, char *str);
 
 #endif /* MPLAYER_GUI_FONT_H */
--- a/gui/skin/skin.h	Sun Mar 06 13:04:07 2011 +0000
+++ b/gui/skin/skin.h	Sun Mar 06 13:57:21 2011 +0000
@@ -21,9 +21,9 @@
 
 #include "gui/bitmap.h"
 
-int skinBPRead(char *, txSample *);
-int skinRead(char *);
-char *strswap(char *, char, char);
-char *trim(char *);
+int skinBPRead(char *fname, txSample *bf);
+int skinRead(char *dname);
+char *strswap(char *in, char what, char whereof);
+char *trim(char *in);
 
 #endif /* MPLAYER_GUI_SKIN_H */