diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-07-15 18:07:57 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-07-18 17:13:30 -0700 |
commit | 9c55efa1b36173aa7d768a55990ed7fe2c4f6034 (patch) | |
tree | 8a19dc65adda9c9b5acb2f7a091364afeedb0f75 /xset.c | |
parent | 8093ecf2ecd112914b9399bab0c413369c9057ca (diff) |
Mark error() & usage() functions as _X_NORETURN
Requires xproto >= 7.0.17
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'xset.c')
-rw-r--r-- | xset.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,8 +151,8 @@ static void set_lock(Display *dpy, Bool onoff); static char *on_or_off(int val, int onval, char *onstr, int offval, char *offstr, char buf[]); static void query(Display *dpy); -static void usage(char *fmt, ...); -static void error(char *message); +static void usage(char *fmt, ...) _X_NORETURN; +static void error(char *message) _X_NORETURN; static int local_xerror(Display *dpy, XErrorEvent *rep); #ifdef XF86MISC |