Skip to content

Commit 676dd61

Browse files
author
qbix79
committed
Declare E_Exit as noreturn. Makes gcc happy
git-svn-id: https://dosbox.svn.sf.net/svnroot/dosbox/dosbox/trunk@3678 67dff46e-583c-4055-8ee1-d6b00ecfda6c
1 parent 42415c4 commit 676dd61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/dosbox.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323

2424
#include "config.h"
2525

26-
void E_Exit(const char * message,...) GCC_ATTRIBUTE( __format__(__printf__, 1, 2));
26+
GCC_ATTRIBUTE(noreturn) void E_Exit(const char * message,...) GCC_ATTRIBUTE( __format__(__printf__, 1, 2));
2727

28-
void MSG_Add(const char*,const char*); //add messages to the internal langaugefile
29-
const char* MSG_Get(char const *); //get messages from the internal langaugafile
28+
void MSG_Add(const char*,const char*); //add messages to the internal languagefile
29+
const char* MSG_Get(char const *); //get messages from the internal languagefile
3030

3131
class Section;
3232

0 commit comments

Comments
 (0)