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
68710d7d2f
commit
2b11dfee8e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212508
@ -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…
Reference in New Issue
Block a user