On 2014-02-21 14:38, Andre Marques wrote:
A small issue I have with test_initialize_filesystem() and
test_shutdown_filesystem() is that I'm calling them from my code as

test_initialize_filesystem ();

... some code ...

test_shutdown_filesystem();

which generates

warning: nested extern declaration of 'test_initialize_filesystem'

because it is defined both on ./testsuites/fstests/mimfs_support/fs_support.c
and ./testsuites/fstests/support/fstest_support.h and the first includes the
former, hence the warning (I believe).

What would be the best approach to solve this?

Which file do you include before you use test_initialize_filesystem (); ?

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : [email protected]
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to