+2011-07-23 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/lastlog.c: Add annotations to indicate that usage() does not
+ return.
+
2011-07-23 Nicolas François <nicolas.francois@centraliens.net>
* src/faillog.c: Add annotations to indicate that usage() does not
#define NOW (time ((time_t *) 0))
-static void usage (int status)
+static /*@noreturn@*/void usage (int status)
{
fputs (_("Usage: lastlog [options]\n"
"\n"
switch (c) {
case 'h':
usage (EXIT_SUCCESS);
- break;
+ /*@notreached@*/break;
case 't':
{
unsigned long days;
}
default:
usage (EXIT_FAILURE);
- break;
+ /*@notreached@*/break;
}
}
if (argc > optind) {