Some small changes
authorceriel <none@none>
Wed, 10 Nov 1993 12:35:33 +0000 (12:35 +0000)
committerceriel <none@none>
Wed, 10 Nov 1993 12:35:33 +0000 (12:35 +0000)
lang/basic/src/bem.h
lang/basic/src/compile.c
lang/basic/src/parsepar.c
lang/basic/src/symbols.c
lang/basic/src/util.c

index 653b765..973b612 100644 (file)
@@ -6,6 +6,7 @@
 #include <ctype.h>
 #include <signal.h>
 #include <system.h>
+#include <print.h>
 #include <em.h>
 #include <em_mes.h>
 
index f008dff..71dd006 100644 (file)
@@ -26,5 +26,5 @@ compileprogram()
        while( basicline = 0, getline())
                (void) LLparse();
        epilogcode();   
-       (void) sys_close(yyin);
+       sys_close(yyin);
 }
index f27fb9f..4882ce1 100644 (file)
@@ -42,7 +42,7 @@ char **argv;
                                case 't': traceflag++; 
                                          break;        /* line tracing */
                                case 'h': /* split EM file */
-                                         (void) fprint(STDERR,
+                                         fprint(STDERR,
                                                  "h option not implemented\n");
                                          break;
                                case 'd': debug++; 
index ff19f0f..af54ecc 100644 (file)
@@ -256,7 +256,7 @@ heading( )
 {
        char procname[50];
 
-       sprint(procname,"_%s",fcn->symname);
+       (void) sprint(procname,"_%s",fcn->symname);
         C_pro_narg(procname);
        if ( fcn->symtype== DEFAULTTYPE)
                fcn->symtype= DOUBLETYPE;
index 05254da..774ce85 100644 (file)
@@ -73,7 +73,7 @@ int i;
 {
        static char buf[30];
 
-       (void) sprint(buf,"%d",i);
+       sprint(buf,"%d",i);
        return(buf);
 }