From 6c2de6052d450fa36338ed0c082647b9d535a928 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 11 May 2012 14:12:11 -0500 Subject: psxtests - Eliminate missing prototype warnings --- testsuites/psxtests/psxmsgq04/init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxmsgq04') diff --git a/testsuites/psxtests/psxmsgq04/init.c b/testsuites/psxtests/psxmsgq04/init.c index a845f2ac9b..6549c3a2e3 100644 --- a/testsuites/psxtests/psxmsgq04/init.c +++ b/testsuites/psxtests/psxmsgq04/init.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2009. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -22,6 +22,9 @@ #include "test_support.h" +/* forward declarations to avoid warnings */ +void *POSIX_Init(void *argument); + void *POSIX_Init( void *argument ) @@ -30,7 +33,6 @@ void *POSIX_Init( mqd_t Queue, second_Queue; int sc; Heap_Information_block start; - Heap_Information_block info; size_t to_alloc; void *alloced; bool sb; -- cgit v1.2.3