From: tb Date: Thu, 29 Jun 2017 08:45:20 +0000 (+0000) Subject: Move to its alphabetic spot and add __dead attribute to usage() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c1a3f1b9fe0f7b4b932229fda4eba220ce7527ef;p=openbsd Move to its alphabetic spot and add __dead attribute to usage() ok mestre --- diff --git a/usr.sbin/vipw/vipw.c b/usr.sbin/vipw/vipw.c index 3339be1137f..e9595b02198 100644 --- a/usr.sbin/vipw/vipw.c +++ b/usr.sbin/vipw/vipw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vipw.c,v 1.19 2016/11/07 23:04:55 mestre Exp $ */ +/* $OpenBSD: vipw.c,v 1.20 2017/06/29 08:45:20 tb Exp $ */ /* * Copyright (c) 1987, 1993, 1994 @@ -33,16 +33,16 @@ #include #include +#include #include #include #include #include #include -#include #include -void copyfile(int, int, struct stat *); -void usage(void); +void copyfile(int, int, struct stat *); +__dead void usage(void); int main(int argc, char *argv[]) @@ -114,7 +114,7 @@ copyfile(int from, int to, struct stat *sb) (void)futimens(to, ts); } -void +__dead void usage(void) { extern char *__progname;