Rewrote most of the examine command.
[pspp-builds.git] / src / som.c
index dde12b5f3a4fbaa4a0380d754a9d6113fc43761a..c74492bcb9bd40149866f8993f42aa28c0560fc2 100644 (file)
--- a/src/som.c
+++ b/src/som.c
    02111-1307, USA. */
 
 #include <config.h>
-#include <assert.h>
+#include "som.h"
+#include "error.h"
 #include <stdio.h>
+#include <stdlib.h>
 #include "output.h"
-#include "som.h"
-/*#undef DEBUGGING*/
-/*#define DEBUGGING 1 */
 #include "debug-print.h"
 
 /* Table. */
@@ -64,10 +63,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;