mirror of https://github.com/BOINC/boinc.git
Tell GCC that DC_finish() does not return
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@462 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
parent
a131872db8
commit
d181ae847d
|
@ -41,6 +41,16 @@ typedef enum {
|
|||
} DC_EventType;
|
||||
|
||||
|
||||
/********************************************************************
|
||||
* Macro definitions
|
||||
*/
|
||||
|
||||
/* Support non-gcc compatible compilers */
|
||||
#ifndef __GNUC__
|
||||
#define __attribute__(x)
|
||||
#endif
|
||||
|
||||
|
||||
/********************************************************************
|
||||
* Data types
|
||||
*/
|
||||
|
@ -87,7 +97,7 @@ void DC_checkpointMade(const char *fileName);
|
|||
void DC_fractionDone(double fraction);
|
||||
|
||||
/* Finishes computation. */
|
||||
void DC_finish(int exitcode);
|
||||
void DC_finish(int exitcode) __attribute__((__noreturn__));
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue