]> granicus.if.org Git - strace/commitdiff
strace.c: fix a warning reported by -Wold-style-definition
authorElvira Khabirova <lineprinter0@gmail.com>
Sun, 12 Jun 2016 22:41:33 +0000 (01:41 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 14 Jun 2016 15:48:32 +0000 (15:48 +0000)
* strace.c (usage): Add void to the list of function argments.

strace.c

index 72343aa47384cdabd3538e6bbf1fb77de74ab11e..962420a9d2b9bac63a16586ee2e9576214f72d58 100644 (file)
--- a/strace.c
+++ b/strace.c
@@ -196,7 +196,7 @@ strerror(int err_no)
 #endif /* HAVE_STERRROR */
 
 static void
-usage()
+usage(void)
 {
        printf("\
 usage: strace [-CdffhiqrtttTvVwxxy] [-I n] [-e expr]...\n\