Date: Thu, 1 Feb 2018 19:45:28 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r328726 - stable/11/sbin/nvmecontrol Message-ID: <201802011945.w11JjSSS031497@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Thu Feb 1 19:45:28 2018 New Revision: 328726 URL: https://svnweb.freebsd.org/changeset/base/328726 Log: MFC r316105 (by ngie): Don't use K&R style prototypes; ANSIfy them This fixes several -Wold-style-definition warnings. Modified: stable/11/sbin/nvmecontrol/wdc.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sbin/nvmecontrol/wdc.c ============================================================================== --- stable/11/sbin/nvmecontrol/wdc.c Thu Feb 1 19:44:24 2018 (r328725) +++ stable/11/sbin/nvmecontrol/wdc.c Thu Feb 1 19:45:28 2018 (r328726) @@ -178,7 +178,7 @@ wdc_do_clear_dump(int fd, uint32_t opcode, uint32_t cm } static void -wdc_cap_diag_usage() +wdc_cap_diag_usage(void) { fprintf(stderr, "usage:\n"); fprintf(stderr, WDC_CAP_DIAG_USAGE); @@ -215,7 +215,7 @@ wdc_cap_diag(int argc, char *argv[]) } static void -wdc_drive_log_usage() +wdc_drive_log_usage(void) { fprintf(stderr, "usage:\n"); fprintf(stderr, WDC_DRIVE_LOG_USAGE); @@ -252,7 +252,7 @@ wdc_drive_log(int argc, char *argv[]) } static void -wdc_get_crash_dump_usage() +wdc_get_crash_dump_usage(void) { fprintf(stderr, "usage:\n"); fprintf(stderr, WDC_CAP_DIAG_USAGE);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802011945.w11JjSSS031497>