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:
parent
624f75c1e1
commit
dc327c8b4d
@ -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);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user