CR by Mei Ye. Forgot to mention in log file.

-Pallavi

-----Original Message-----
From: s...@open64.net [mailto:s...@open64.net] 
Sent: Friday, May 06, 2011 11:20 AM
To: open64-devel@lists.sourceforge.net
Subject: [Open64-devel] r3588 - trunk/osprey/be/lno

Author: pallavimathew
Date: 2011-05-06 14:19:55 -0400 (Fri, 06 May 2011)
New Revision: 3588

Modified:
   trunk/osprey/be/lno/simd.cxx
   trunk/osprey/be/lno/simd_util.cxx
   trunk/osprey/be/lno/simd_util.h
Log:
Move guard macros to header file for simd* files.



Modified: trunk/osprey/be/lno/simd.cxx
===================================================================
--- trunk/osprey/be/lno/simd.cxx        2011-05-06 06:01:17 UTC (rev 3587)
+++ trunk/osprey/be/lno/simd.cxx        2011-05-06 18:19:55 UTC (rev 3588)
@@ -90,8 +90,6 @@
 #include "lego_util.h"             // for AWN_StidIntoSym, AWN_Add
 #include "minvariant.h"            // for Minvariant_Removal
 #include "prompf.h"
-
-#define simd_util_INCLUDED
 #include "simd_util.h"
 
 #define ABS(a) ((a<0)?-(a):(a))

Modified: trunk/osprey/be/lno/simd_util.cxx
===================================================================
--- trunk/osprey/be/lno/simd_util.cxx   2011-05-06 06:01:17 UTC (rev 3587)
+++ trunk/osprey/be/lno/simd_util.cxx   2011-05-06 18:19:55 UTC (rev 3588)
@@ -23,8 +23,6 @@
 #include "cxx_memory.h"
 #include "lwn_util.h"
 #include "ff_utils.h"
-
-#define simd_util_INCLUDED
 #include "simd_util.h"
 
 /////////////////////////////////////////////////////////////////////////////

Modified: trunk/osprey/be/lno/simd_util.h
===================================================================
--- trunk/osprey/be/lno/simd_util.h     2011-05-06 06:01:17 UTC (rev 3587)
+++ trunk/osprey/be/lno/simd_util.h     2011-05-06 18:19:55 UTC (rev 3588)
@@ -18,8 +18,7 @@
 */
 
 #ifndef simd_util_INCLUDED
-    #error simd_util.h is for internal use only
-#endif
+#define simd_util_INCLUDED
 
 #include <list>
 
@@ -194,3 +193,5 @@
     Is_True (_min_vect_len != 0, ("_min_vect_len isn't set properly"));
     return _min_vect_len; 
 }
+
+#endif /* simd_util_INCLUDED */


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to