hush: add #defines to switch off break/continue if loops are not supported
*: remove a few inline keywords no code changes
This commit is contained in:
@@ -498,7 +498,7 @@ static void get_dev_fields(char *bp, struct interface *ife, int procnetdev_vsn)
|
||||
}
|
||||
}
|
||||
|
||||
static inline int procnetdev_version(char *buf)
|
||||
static int procnetdev_version(char *buf)
|
||||
{
|
||||
if (strstr(buf, "compressed"))
|
||||
return 2;
|
||||
|
@@ -819,7 +819,7 @@ packet_ok(unsigned char *buf, int cc, struct sockaddr_in *from, int seq)
|
||||
* If the nflag has been supplied, give
|
||||
* numeric value, otherwise try for symbolic name.
|
||||
*/
|
||||
static inline void
|
||||
static void
|
||||
print_inetname(struct sockaddr_in *from)
|
||||
{
|
||||
const char *ina;
|
||||
@@ -836,7 +836,7 @@ print_inetname(struct sockaddr_in *from)
|
||||
}
|
||||
}
|
||||
|
||||
static inline void
|
||||
static void
|
||||
print(unsigned char *buf, int cc, struct sockaddr_in *from)
|
||||
{
|
||||
struct ip *ip;
|
||||
|
Reference in New Issue
Block a user