Include appropriate header file kernel/locking/rtmutex_common.h in
kernel/locking/rtmutex-tester.c because it has prototype declaration of
function define din kernel/locking/rtmutex-tester.c.

This eliminates the following warning in
kernel/locking/rtmutex-tester.c:
kernel/locking/rtmutex-tester.c:139:6: warning: no previous prototype for 
‘schedule_rt_mutex_test’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.khe...@gmail.com>
Reviewed-by: Josh Triplett <j...@joshtriplett.org>
---
 kernel/locking/rtmutex-tester.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/locking/rtmutex-tester.c b/kernel/locking/rtmutex-tester.c
index 1d96dd0..b17eef2 100644
--- a/kernel/locking/rtmutex-tester.c
+++ b/kernel/locking/rtmutex-tester.c
@@ -16,7 +16,7 @@
 #include <linux/freezer.h>
 #include <linux/stat.h>
 
-#include "rtmutex.h"
+#include "rtmutex_common.h"
 
 #define MAX_RT_TEST_THREADS    8
 #define MAX_RT_TEST_MUTEXES    8
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to