[rtems commit] libtests/complex: Avoid multiple definitions

Sebastian Huber sebh at rtems.org
Mon Dec 8 08:48:41 UTC 2014


Module:    rtems
Branch:    master
Commit:    f3730d5660ae29e317f9bf214bedb2fc01b48f37
Changeset: http://git.rtems.org/rtems/commit/?id=f3730d5660ae29e317f9bf214bedb2fc01b48f37

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Dec  8 09:47:58 2014 +0100

libtests/complex: Avoid multiple definitions

---

 testsuites/libtests/complex/docomplex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/libtests/complex/docomplex.h b/testsuites/libtests/complex/docomplex.h
index c844cc0..440b9ac 100644
--- a/testsuites/libtests/complex/docomplex.h
+++ b/testsuites/libtests/complex/docomplex.h
@@ -25,7 +25,7 @@
 
 extern void FUNC(docomplex) (void);
 
-volatile complex FTYPE ca, cb;
+static volatile complex FTYPE ca, cb;
 
 void
 FUNC(docomplex) (void)




More information about the vc mailing list