Constness and global namespace patrol.
[pspp-builds.git] / src / language / control / control-stack.c
index 9f1502c2b188f60886919c29beb75426c1cbf478..193b52b0837c3457dc5057571e6d548229ea1fd5 100644 (file)
@@ -2,7 +2,8 @@
 #include "control-stack.h"
 #include <assert.h>
 #include <stdlib.h>
-#include "message.h"
+#include <libpspp/compiler.h>
+#include <libpspp/message.h>
 #include "xalloc.h"
 
 #include "gettext.h"
@@ -15,7 +16,7 @@ struct ctl_struct
     void *private;              /* Private data. */
   };
 
-struct ctl_struct *ctl_stack;
+static struct ctl_struct *ctl_stack;
 
 void
 ctl_stack_clear (void)