diff options
| author | joerg <joerg@NetBSD.org> | 2011-09-06 18:25:14 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2011-09-06 18:25:14 +0000 |
| commit | 94d23bf2ae31dd7d6366c19593166f3274e0340f (patch) | |
| tree | 27ea16e572cb3b982ce5d7c860f08ea38c5da241 /usr.bin/patch/patch.c | |
| parent | cf331bc46323cccfc5af7e4d2aa4d25384c1cb4f (diff) | |
Consistently use __dead and __printflike.
Diffstat (limited to 'usr.bin/patch/patch.c')
| -rw-r--r-- | usr.bin/patch/patch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c index c3b89a3a814..9f49e7f96e1 100644 --- a/usr.bin/patch/patch.c +++ b/usr.bin/patch/patch.c @@ -1,7 +1,7 @@ /* * $OpenBSD: patch.c,v 1.45 2007/04/18 21:52:24 sobrado Exp $ * $DragonFly: src/usr.bin/patch/patch.c,v 1.10 2008/08/10 23:39:56 joerg Exp $ - * $NetBSD: patch.c,v 1.28 2011/03/26 21:45:48 dholland Exp $ + * $NetBSD: patch.c,v 1.29 2011/09/06 18:25:14 joerg Exp $ */ /* @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: patch.c,v 1.28 2011/03/26 21:45:48 dholland Exp $"); +__RCSID("$NetBSD: patch.c,v 1.29 2011/09/06 18:25:14 joerg Exp $"); #include <sys/types.h> #include <sys/stat.h> @@ -106,7 +106,7 @@ static bool spew_output(void); static void dump_line(LINENUM, bool); static bool patch_match(LINENUM, LINENUM, LINENUM); static bool similar(const char *, const char *, int); -static void usage(void); +__dead static void usage(void); /* true if -E was specified on command line. */ static bool remove_empty_files = false; |
