Fix the following Errors: Bad function definition - void abort() should probably be void abort(void)
Signed-off-by: Abdul Rauf abdulraufmujahid@gmail.com --- drivers/staging/greybus/tools/loopback_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/greybus/tools/loopback_test.c b/drivers/staging/greybus/tools/loopback_test.c index f7f4cd6fb55b..5312b2aa32f1 100644 --- a/drivers/staging/greybus/tools/loopback_test.c +++ b/drivers/staging/greybus/tools/loopback_test.c @@ -168,7 +168,7 @@ GET_AVG(latency_avg); GET_AVG(apbridge_unipro_latency_avg); GET_AVG(gbphy_firmware_latency_avg);
-void abort() +void abort(void) { _exit(1); }
On Wed, Jan 11, 2017 at 6:59 AM, Abdul Rauf abdulraufmujahid@gmail.com wrote:
Fix the following Errors: Bad function definition - void abort() should probably be void abort(void)
Signed-off-by: Abdul Rauf abdulraufmujahid@gmail.com
drivers/staging/greybus/tools/loopback_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Viresh Kumar viresh.kumar@linaro.org
On Wed, Jan 11, 2017 at 01:29:36AM +0000, Abdul Rauf wrote:
Fix the following Errors: Bad function definition - void abort() should probably be void abort(void)
Signed-off-by: Abdul Rauf abdulraufmujahid@gmail.com
Acked-by: Johan Hovold johan@kernel.org