From: Michael Moese Date: Thu, 25 Jan 2018 16:23:01 +0100 Subject: [LTP] [PATCH 07/10] fix old-style-definition in ht_utils.c In-Reply-To: <20180125152304.32747-1-mmoese@suse.de> References: <20180125152304.32747-1-mmoese@suse.de> Message-ID: <20180125152304.32747-8-mmoese@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Signed-off-by: Michael Moese --- testcases/kernel/sched/hyperthreading/ht_enabled/ht_utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testcases/kernel/sched/hyperthreading/ht_enabled/ht_utils.c b/testcases/kernel/sched/hyperthreading/ht_enabled/ht_utils.c index a996b6ddb..7644e352c 100644 --- a/testcases/kernel/sched/hyperthreading/ht_enabled/ht_utils.c +++ b/testcases/kernel/sched/hyperthreading/ht_enabled/ht_utils.c @@ -19,7 +19,7 @@ char buffer[BUFF_SIZE]; -int is_ht_cpu() +int is_ht_cpu(void) { /*Number of logic processor in a physical processor */ int smp_num_siblings = -1; @@ -41,7 +41,7 @@ int is_ht_cpu() /*return 0 means Pass, return 1 means ht is not enabled*/ -int check_ht_capability() +int check_ht_capability(void) { int result; if (is_ht_cpu()) { @@ -61,7 +61,7 @@ int check_ht_capability() char buf[256]; -int get_cpu_count() +int get_cpu_count(void) { FILE *pfile; int count; -- 2.13.6