Revision: 45507
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45507&view=rev
Author:   starseeker
Date:     2011-07-15 21:28:35 +0000 (Fri, 15 Jul 2011)

Log Message:
-----------
remove duplicate decls (XCode 4 clang  no likie)

Modified Paths:
--------------
    brlcad/trunk/src/libfb/fb_generic.c
    brlcad/trunk/src/librt/tcl.c

Modified: brlcad/trunk/src/libfb/fb_generic.c
===================================================================
--- brlcad/trunk/src/libfb/fb_generic.c 2011-07-15 21:09:07 UTC (rev 45506)
+++ brlcad/trunk/src/libfb/fb_generic.c 2011-07-15 21:28:35 UTC (rev 45507)
@@ -255,7 +255,6 @@
 
 #ifdef IF_X
     {
-       extern FBIO X24_interface;
        if (strcasecmp(ifp->if_name, X24_interface.if_name) == 0) {
            int status = -1;
            if ((status = X24_close_existing(ifp)) <= -1) {
@@ -274,7 +273,6 @@
 
 #ifdef IF_WGL
     {
-       extern FBIO wgl_interface;
        if (strcasecmp(ifp->if_name, wgl_interface.if_name) == 0) {
            int status = -1;
            if ((status = wgl_close_existing(ifp)) <= -1) {
@@ -292,7 +290,6 @@
 
 #ifdef IF_OGL
     {
-       extern FBIO ogl_interface;
        if (strcasecmp(ifp->if_name, ogl_interface.if_name) == 0) {
            int status = -1;
            if ((status = ogl_close_existing(ifp)) <= -1) {
@@ -310,7 +307,6 @@
 
 #ifdef IF_RTGL
     {
-       extern FBIO ogl_interface;
        if (strcasecmp(ifp->if_name, ogl_interface.if_name) == 0) {
            int status = -1;
            if ((status = ogl_close_existing(ifp)) <= -1) {
@@ -328,7 +324,6 @@
 
 #ifdef IF_TK
     {
-       extern FBIO tk_interface;
        if (strcasecmp(ifp->if_name, tk_interface.if_name) == 0) {
            /* may need to close_existing here at some point */
            if (ifp->if_pbase != PIXEL_NULL)

Modified: brlcad/trunk/src/librt/tcl.c
===================================================================
--- brlcad/trunk/src/librt/tcl.c        2011-07-15 21:09:07 UTC (rev 45506)
+++ brlcad/trunk/src/librt/tcl.c        2011-07-15 21:28:35 UTC (rev 45507)
@@ -761,10 +761,6 @@
 void
 rt_tcl_setup(Tcl_Interp *interp)
 {
-    extern size_t rt_bot_minpieces;    /* from globals.c */
-    extern size_t rt_bot_tri_per_piece;        /* from globals.c */
-    extern size_t rt_bot_mintie;       /* from globals.c */
-
     Tcl_LinkVar(interp, "rt_bot_minpieces", (char *)&rt_bot_minpieces, 
TCL_LINK_WIDE_INT);
 
     Tcl_LinkVar(interp, "rt_bot_tri_per_piece",


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

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to