xf86Priv.h: Add some noreturn attributes suggested by gcc

Both functions call exit() at the end and have no other return path.
Also correct comment/heading to reflect commit 6450f6ca7e moving
DoShowOptions into xf86Configure.c.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Alan Coopersmith 2011-12-12 16:49:34 -08:00
parent 3823eedf3c
commit f68df9dfd2

View File

@ -125,10 +125,8 @@ extern _X_EXPORT const DisplayModeRec xf86DefaultModes[];
extern _X_EXPORT const int xf86NumDefaultModes;
/* xf86Configure.c */
extern _X_EXPORT void DoConfigure(void);
/* xf86ShowOpts.c */
extern _X_EXPORT void DoShowOptions(void);
extern _X_EXPORT void DoConfigure(void) _X_NORETURN;
extern _X_EXPORT void DoShowOptions(void) _X_NORETURN;
/* xf86Events.c */