sh: Add __dead2 to two functions that do not return.

Apart from helping static analyzers, this also appears to reduce the size of
the binary slightly.
This commit is contained in:
Jilles Tjoelker 2010-09-12 22:00:31 +00:00
parent 68710d7d2f
commit 2b11dfee8e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212508

View File

@ -118,8 +118,8 @@ STATIC int readtoken(void);
STATIC int xxreadtoken(void);
STATIC int readtoken1(int, char const *, char *, int);
STATIC int noexpand(char *);
STATIC void synexpect(int);
STATIC void synerror(const char *);
STATIC void synexpect(int) __dead2;
STATIC void synerror(const char *) __dead2;
STATIC void setprompt(int);