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 2010-09-12 22:00:31 +00:00
parent 624f75c1e1
commit dc327c8b4d

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);