summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-23 10:07:03 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-23 10:07:17 -0800
commit21e6ddc42acc7864fb260c101060dee5cebf07c1 (patch)
treeb12535601aa2edcb99590f7824b0a7bd928dafbe /process.c
parentef04ccaac0e501612367c098410129f89e1d109a (diff)
Add _X_NORETURN attributes suggested by gcc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index dfefe8e..b87348b 100644
--- a/process.c
+++ b/process.c
@@ -89,8 +89,8 @@ static FILE *open_file ( char **filenamep, const char *mode, Bool *usedstdp, con
static int read_auth_entries ( FILE *fp, AuthList **headp, AuthList **tailp );
static int cvthexkey ( char *hexstr, char **ptrp );
static int dispatch_command ( const char *inputfilename, int lineno, int argc, char **argv, const CommandTable *tab, int *statusp );
-static void die ( int sig );
-static void catchsig ( int sig );
+static void die ( int sig ) _X_NORETURN;
+static void catchsig ( int sig ) _X_NORETURN;
static void register_signals ( void );
static int write_auth_file ( char *tmp_nam, size_t tmp_nam_len );
static void fprintfhex ( FILE *fp, unsigned int len, const char *cp );