#include <linux/lnet/lnet-nl.h>
#include "liblnetconfig.h"
+#ifndef fallthrough
+#define fallthrough do {} while (0) /* fallthrough */
+#endif
+
#ifndef SOL_NETLINK /* for glibc < 2.24 */
# define SOL_NETLINK 270
#endif
case NLA_S64:
len = snprintf(data->buffer, *size, "%jd",
nla_get_s64(attr));
- /* fallthrough */
+ fallthrough;
default:
break;
}
fprintf(log, "Reader error: '%s' at %ld\n",
extra, (long)parser->problem_offset);
}
- /* fallthrough */
+ fallthrough;
default:
break;
}