diff -u -p -r1.1 fs.c
--- a/xmlfs/fs.c	12 Apr 2006 17:00:30 -0000	1.1
+++ b/xmlfs/fs.c	1 Aug 2020 16:53:39 -0000
@@ -22,7 +22,7 @@
 #include "xmlfs.h"
 #include "fsutils.h"
 
-FILE *debug;
+#include <assert.h>
 
 error_t
 xmlfs_create (file_t fd, struct xmlfs *xmlfs)
diff -u -p -r1.1 fsutils.c
--- a/xmlfs/fsutils.c	12 Apr 2006 17:00:30 -0000	1.1
+++ b/xmlfs/fsutils.c	1 Aug 2020 16:53:39 -0000
@@ -31,8 +31,7 @@
 #include <unistd.h>
 #include <maptime.h>
 #include <fcntl.h>
-
-FILE *debug;
+#include <assert.h>
 
 /* General info */
 static pid_t pid;
diff -u -p -r1.2 netfs.c
--- a/xmlfs/netfs.c	10 Feb 2013 11:14:00 -0000	1.2
+++ b/xmlfs/netfs.c	1 Aug 2020 16:53:39 -0000
@@ -33,9 +33,6 @@
 #include <sys/types.h>
 #include <sys/mman.h>
 
-struct xmlfs *xmlfs;
-FILE *debug;
-
 /* The user must define this function.  Make sure that NP->nn_stat is
    filled with the most current information.  CRED identifies the user
    responsible for the operation. NP is locked.  */
diff -u -p -r1.1 xml.c
--- a/xmlfs/xml.c	12 Apr 2006 17:00:30 -0000	1.1
+++ b/xmlfs/xml.c	1 Aug 2020 16:53:39 -0000
@@ -28,9 +28,6 @@
 
 #include <libxml/xpath.h>
 
-struct xmlfs *xmlfs;
-FILE *debug;
-
 error_t
 xml_dump_node (xmlNodePtr node, char **text, size_t *size)
 {
