diff options
Diffstat (limited to 'graphics/gplot/files/patch-drawcgm__cgmgen.c')
-rw-r--r-- | graphics/gplot/files/patch-drawcgm__cgmgen.c | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/graphics/gplot/files/patch-drawcgm__cgmgen.c b/graphics/gplot/files/patch-drawcgm__cgmgen.c deleted file mode 100644 index 7fd2633698cf..000000000000 --- a/graphics/gplot/files/patch-drawcgm__cgmgen.c +++ /dev/null @@ -1,47 +0,0 @@ ---- drawcgm/cgmgen.c.orig Tue Sep 1 23:24:48 1992 -+++ drawcgm/cgmgen.c Sat Jun 16 00:59:41 2007 -@@ -67,6 +67,7 @@ - #endif - #ifdef USE_UNIX - #include <stdio.h> -+#include <stdlib.h> - #include <string.h> - #endif - #ifdef ardent -@@ -296,6 +297,10 @@ - case 1: out= ( (*ptr >> (7-bit)) & 1 ); bit= bit + 1; \ - if (bit == 8) { bit = 0; ++ptr; }; } \ - -+static int cgmfree(); -+static unsigned int ibufsz(); -+static unsigned int pbufsz(); -+ - igtmem(psz) - /* - This routine returns a pointer to available memory; it is included -@@ -303,7 +308,6 @@ - */ - int *psz; - { -- char *malloc(); - if (debugmode) fprintf(stderr," IGTMEM: allocating %d bytes.\n",*psz); - return((int) malloc( (unsigned int) *psz )); - } -@@ -389,7 +393,7 @@ - static void checkbufsize(newsize) - unsigned int newsize; - { -- char *malloc(),*realloc(),msgbuf[256]; -+ char msgbuf[256]; - - if ( newsize > datasize ) - { -@@ -1045,7 +1049,7 @@ - */ - { - float *clrptr, *tblend; -- char *realloc(),msgbuf[256]; -+ char msgbuf[256]; - - if (debugmode) fprintf(stderr," wrmxci: max color index= %d\n", - *maxclrindx); |