Fixed another problem with print.sh
[pspp] / src / som.c
index dde12b5f3a4fbaa4a0380d754a9d6113fc43761a..b21f1f1860fe9d416365b05128b0654deb2c08eb 100644 (file)
--- a/src/som.c
+++ b/src/som.c
@@ -20,6 +20,7 @@
 #include <config.h>
 #include <assert.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include "output.h"
 #include "som.h"
 /*#undef DEBUGGING*/
@@ -64,10 +65,10 @@ som_blank_line (void)
 }
 \f
 /* Driver. */
-struct outp_driver *d;
+static struct outp_driver *d=0;
 
 /* Table. */
-struct som_table *t;
+static struct som_table *t=0;
 
 /* Flags. */
 static unsigned flags;