From: Elvira Khabirova Date: Sun, 12 Jun 2016 22:41:33 +0000 (+0300) Subject: strace.c: fix a warning reported by -Wold-style-definition X-Git-Tag: v4.13~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45a5a623183afc72092d21f2814424d67de2a695;p=strace strace.c: fix a warning reported by -Wold-style-definition * strace.c (usage): Add void to the list of function argments. --- diff --git a/strace.c b/strace.c index 72343aa4..962420a9 100644 --- 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\