diff options
author | tb <tb@openbsd.org> | 2017-06-29 08:45:20 +0000 |
---|---|---|
committer | tb <tb@openbsd.org> | 2017-06-29 08:45:20 +0000 |
commit | c1a3f1b9fe0f7b4b932229fda4eba220ce7527ef (patch) | |
tree | 009cc5f88a405a3d8309bcb79ee22986a0d9e454 /usr.sbin/vipw | |
parent | add some comments, no functional change (diff) | |
download | wireguard-openbsd-c1a3f1b9fe0f7b4b932229fda4eba220ce7527ef.tar.xz wireguard-openbsd-c1a3f1b9fe0f7b4b932229fda4eba220ce7527ef.zip |
Move <fcntl.h> to its alphabetic spot and add __dead attribute to usage()
ok mestre
Diffstat (limited to 'usr.sbin/vipw')
-rw-r--r-- | usr.sbin/vipw/vipw.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 <sys/stat.h> #include <err.h> +#include <fcntl.h> #include <pwd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> -#include <fcntl.h> #include <util.h> -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; |