Revision: 41845
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41845&view=rev
Author:   brlcad
Date:     2010-12-30 06:47:52 +0000 (Thu, 30 Dec 2010)

Log Message:
-----------
wdb_rt_gettrees_cmd() and wdb_stub_cmd() can make their argv's be const too

Modified Paths:
--------------
    brlcad/trunk/include/ged.h
    brlcad/trunk/src/libged/wdb_obj.c

Modified: brlcad/trunk/include/ged.h
===================================================================
--- brlcad/trunk/include/ged.h  2010-12-30 06:47:09 UTC (rev 41844)
+++ brlcad/trunk/include/ged.h  2010-12-30 06:47:52 UTC (rev 41845)
@@ -707,7 +707,7 @@
                    (struct rt_wdb *wdbp,
                     Tcl_Interp *interp,
                     int argc,
-                    char *argv[]));
+                    const char *argv[]));
 GED_EXPORT BU_EXTERN(int       wdb_dump_cmd,
                    (struct rt_wdb *wdbp,
                     Tcl_Interp *interp,
@@ -802,7 +802,7 @@
                    (struct rt_wdb *wdbp,
                     Tcl_Interp *interp,
                     int argc,
-                    char *argv[]));
+                    const char *argv[]));
 GED_EXPORT BU_EXTERN(int       wdb_region_cmd,
                    (struct rt_wdb *wdbp,
                     Tcl_Interp *interp,
@@ -963,11 +963,6 @@
                     Tcl_Interp *interp,
                     int argc,
                     char *argv[]));
-GED_EXPORT BU_EXTERN(int       wdb_stub_cmd,
-                   (struct rt_wdb *wdbp,
-                    Tcl_Interp *interp,
-                    int argc,
-                    char *argv[]));
 
 
 

Modified: brlcad/trunk/src/libged/wdb_obj.c
===================================================================
--- brlcad/trunk/src/libged/wdb_obj.c   2010-12-30 06:47:09 UTC (rev 41844)
+++ brlcad/trunk/src/libged/wdb_obj.c   2010-12-30 06:47:52 UTC (rev 41845)
@@ -1484,7 +1484,7 @@
 wdb_rt_gettrees_cmd(struct rt_wdb *wdbp,
                    Tcl_Interp *interp,
                    int argc,
-                   char *argv[])
+                   const char *argv[])
 {
     struct rt_i *rtip;
     struct application *ap;
@@ -1930,7 +1930,7 @@
 wdb_stub_cmd(struct rt_wdb *UNUSED(wdbp),
             Tcl_Interp *interp,
             int argc,
-            char *argv[])
+            const char *argv[])
 {
     if (argc != 1) {
        struct bu_vls vls;


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

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to