|
From: <and...@us...> - 2009-02-23 18:45:02
|
Revision: 9589
http://plplot.svn.sourceforge.net/plplot/?rev=9589&view=rev
Author: andrewross
Date: 2009-02-23 18:44:56 +0000 (Mon, 23 Feb 2009)
Log Message:
-----------
Correctly declare some global variables as static and remove other obsolete global
variables.
Thanks to Tony Allen for spotting these - apparently it caused problems on some Macs.
Modified Paths:
--------------
trunk/src/plcore.c
trunk/src/plctrl.c
trunk/src/plstripc.c
Modified: trunk/src/plcore.c
===================================================================
--- trunk/src/plcore.c 2009-02-23 16:52:54 UTC (rev 9588)
+++ trunk/src/plcore.c 2009-02-23 18:44:56 UTC (rev 9589)
@@ -469,7 +469,7 @@
return(0);
}
-PLUNICODE unicode_buffer[1024];
+static PLUNICODE unicode_buffer[1024];
void
plP_text(PLINT base, PLFLT just, PLFLT *xform, PLINT x, PLINT y,
Modified: trunk/src/plctrl.c
===================================================================
--- trunk/src/plctrl.c 2009-02-23 16:52:54 UTC (rev 9588)
+++ trunk/src/plctrl.c 2009-02-23 18:44:56 UTC (rev 9589)
@@ -69,7 +69,7 @@
static int
(*exit_handler) (const char *errormsg);
-void
+static void
(*abort_handler) (const char *errormsg);
static void
Modified: trunk/src/plstripc.c
===================================================================
--- trunk/src/plstripc.c 2009-02-23 16:52:54 UTC (rev 9588)
+++ trunk/src/plstripc.c 2009-02-23 18:44:56 UTC (rev 9589)
@@ -168,7 +168,6 @@
* during rescaling.
\*--------------------------------------------------------------------------*/
-PLFLT oxm,oxM, oym,oyM;
static void plstrip_gen( PLStrip *strip )
{
int i;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|