From: Richard L. <rl...@us...> - 2005-12-04 18:20:33
|
Update of /cvsroot/gaim/gaim/plugins/crazychat In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12032/plugins/crazychat Modified Files: camdata.h camproc.h cc_gtk_gl.h dog_lids.h eye.h eyes.h lids.h test.h Log Message: Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function. Index: camdata.h =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/crazychat/camdata.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- camdata.h 11 Aug 2005 07:56:29 -0000 1.3 +++ camdata.h 4 Dec 2005 18:19:51 -0000 1.4 @@ -45,19 +45,19 @@ void SetCurrentClamp(short index); //void BlitOneMungData(mungDataRecord *theMungData); //void AdjustColorClampEndpoints(short hMouseCoord); -//void IncrementCurrentClamp(); -//void DecrementCurrentClamp(); -void SetMungDataColorDefaults(); -CGrafPtr GetMungDataWindowPort(); +//void IncrementCurrentClamp(void); +//void DecrementCurrentClamp(void); +void SetMungDataColorDefaults(void); +CGrafPtr GetMungDataWindowPort(void); GWorldPtr GetMungDataOffscreen(void); -//OSType GetMungDataEffectType(); +//OSType GetMungDataEffectType(void); -//long GetCurrentClamp(); +//long GetCurrentClamp(void); //void SetCurrentClamp(short index); void GetMungDataBoundsRect(Rect *movieRect); -//CGrafPtr GetMungDataWindowPort(); +//CGrafPtr GetMungDataWindowPort(void); void SetMungDataDrawSeq(ImageSequence theDrawSeq); -//ImageSequence GetMungDataDrawSeq(); +//ImageSequence GetMungDataDrawSeq(void); Index: camproc.h =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/crazychat/camproc.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- camproc.h 11 Aug 2005 07:56:29 -0000 1.3 +++ camproc.h 4 Dec 2005 18:19:51 -0000 1.4 @@ -22,7 +22,7 @@ #include "cc_interface.h" #include "filter.h" -void Die(); +void Die(void); OSErr CamProc(struct input_instance *inst, filter_bank *bank); void QueryCam (void); Index: cc_gtk_gl.h =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/crazychat/cc_gtk_gl.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- cc_gtk_gl.h 11 Aug 2005 07:56:29 -0000 1.3 +++ cc_gtk_gl.h 4 Dec 2005 18:19:51 -0000 1.4 @@ -26,7 +26,7 @@ struct window_box { * Initialize the gtkglext framework for all our widgets. * @return 0 on success, non-zero on failure */ -int cc_init_gtk_gl(); +int cc_init_gtk_gl(void); /** * Create a new OpenGL enabled window Index: dog_lids.h =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/crazychat/dog_lids.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- dog_lids.h 11 Aug 2005 07:56:29 -0000 1.3 +++ dog_lids.h 4 Dec 2005 18:19:51 -0000 1.4 @@ -1,3 +1,3 @@ -void initLids(); +void initLids(void); -void drawLids(int left, int right); \ No newline at end of file +void drawLids(int left, int right); Index: eye.h =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/crazychat/eye.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- eye.h 11 Aug 2005 07:56:29 -0000 1.3 +++ eye.h 4 Dec 2005 18:19:51 -0000 1.4 @@ -1 +1 @@ -GLint Gen3DObjectList(); \ No newline at end of file +GLint Gen3DObjectList(void); Index: eyes.h =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/crazychat/eyes.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- eyes.h 11 Aug 2005 07:56:29 -0000 1.3 +++ eyes.h 4 Dec 2005 18:19:51 -0000 1.4 @@ -1,3 +1,3 @@ -void initEyes(); +void initEyes(void); void drawEyes(GLfloat angle, GLfloat yangle); \ No newline at end of file Index: lids.h =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/crazychat/lids.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- lids.h 11 Aug 2005 07:56:29 -0000 1.3 +++ lids.h 4 Dec 2005 18:19:51 -0000 1.4 @@ -1,3 +1,3 @@ -void initLids(); +void initLids(void); -void drawLid(int num); \ No newline at end of file +void drawLid(int num); Index: test.h =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/crazychat/test.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- test.h 11 Aug 2005 07:56:29 -0000 1.3 +++ test.h 4 Dec 2005 18:19:51 -0000 1.4 @@ -1,8 +1,8 @@ class Test { public: - Test(); - ~Test(); - void runTest(); + Test(void); + ~Test(void); + void runTest(void); private: asdfint fake; -}; \ No newline at end of file +}; |