From: Enlightenment C. <no...@cv...> - 2007-10-25 05:18:02
|
Enlightenment CVS committal Author : nash Project : e17 Module : libs/ecore Dir : e17/libs/ecore/src/lib/ecore_job Modified Files: Ecore_Job.h ecore_job.c Log Message: C89isms: ecore_job_init() and ecore_job_shutdown() now declared with void paramater. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_job/Ecore_Job.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- Ecore_Job.h 5 Oct 2007 05:12:37 -0000 1.9 +++ Ecore_Job.h 25 Oct 2007 05:17:57 -0000 1.10 @@ -35,8 +35,8 @@ typedef void Ecore_Job; /**< A job handle */ #endif -EAPI int ecore_job_init(); -EAPI int ecore_job_shutdown(); +EAPI int ecore_job_init(void); +EAPI int ecore_job_shutdown(void); EAPI Ecore_Job *ecore_job_add(void (*func) (void *data), const void *data); EAPI void *ecore_job_del(Ecore_Job *job); =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_job/ecore_job.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- ecore_job.c 5 Oct 2007 05:12:37 -0000 1.9 +++ ecore_job.c 25 Oct 2007 05:17:57 -0000 1.10 @@ -11,7 +11,7 @@ static Ecore_Event_Handler* _ecore_job_handler = NULL; EAPI int -ecore_job_init() +ecore_job_init(void) { if (++_ecore_init_job_count == 1) { @@ -24,7 +24,7 @@ } EAPI int -ecore_job_shutdown() +ecore_job_shutdown(void) { if (--_ecore_init_job_count) return _ecore_init_job_count; |