Revision: 51760
          http://brlcad.svn.sourceforge.net/brlcad/?rev=51760&view=rev
Author:   brlcad
Date:     2012-08-04 01:59:49 +0000 (Sat, 04 Aug 2012)
Log Message:
-----------
HIDDEN only applies to functions, not variables

Modified Paths:
--------------
    brlcad/trunk/include/common.h
    brlcad/trunk/src/libged/analyze.c

Modified: brlcad/trunk/include/common.h
===================================================================
--- brlcad/trunk/include/common.h       2012-08-04 01:56:40 UTC (rev 51759)
+++ brlcad/trunk/include/common.h       2012-08-04 01:59:49 UTC (rev 51760)
@@ -72,7 +72,7 @@
 /* Functions local to one file IN A LIBRARY should be declared HIDDEN.
  * Disabling the static classifier is sometimes helpful for debugging.
  * It can help prevent some compilers from inlining functions that one
- * might want to set a breakpoint on.
+ * might want to set a breakpoint on.  Do not use on variables.
  */
 #if !defined(HIDDEN)
 #  if defined(NDEBUG)

Modified: brlcad/trunk/src/libged/analyze.c
===================================================================
--- brlcad/trunk/src/libged/analyze.c   2012-08-04 01:56:40 UTC (rev 51759)
+++ brlcad/trunk/src/libged/analyze.c   2012-08-04 01:59:49 UTC (rev 51760)
@@ -53,7 +53,7 @@
 
 
 /* ARB face printout array */
-HIDDEN const int prface[5][6] = {
+static const int prface[5][6] = {
     {123, 124, 234, 134, -111, -111},          /* ARB4 */
     {1234, 125, 235, 345, 145, -111},          /* ARB5 */
     {1234, 2365, 1564, 512, 634, -111},                /* ARB6 */
@@ -63,7 +63,7 @@
 
 
 /* edge definition array */
-HIDDEN const int nedge[5][24] = {
+static const int nedge[5][24] = {
     {0, 1, 1, 2, 2, 0, 0, 3, 3, 2, 1, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, 
-1, -1, -1},   /* ARB4 */
     {0, 1, 1, 2, 2, 3, 0, 3, 0, 4, 1, 4, 2, 4, 3, 4, -1, -1, -1, -1, -1, -1, 
-1, -1},       /* ARB5 */
     {0, 1, 1, 2, 2, 3, 0, 3, 0, 4, 1, 4, 2, 5, 3, 5, 4, 5, -1, -1, -1, -1, -1, 
-1},         /* ARB6 */
@@ -734,7 +734,7 @@
 
 
 /* plane used by ccw to compare 2 points */
-HIDDEN plane_t *cmp_plane = NULL;
+static plane_t *cmp_plane = NULL;
 
 /* qsort helper function, used to sort points into
  * counter-clockwise order */
@@ -1477,7 +1477,7 @@
     struct directory *ndp;
     int i;
     struct rt_db_internal intern;
-    HIDDEN const char *usage = "object(s)";
+    static const char *usage = "object(s)";
 
     GED_CHECK_DATABASE_OPEN(gedp, GED_ERROR);
     GED_CHECK_ARGC_GT_0(gedp, argc, GED_ERROR);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to