hurdextras-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xmlfs fs.c fsutils.c netfs.c xml.c


From: Samuel Thibault
Subject: xmlfs fs.c fsutils.c netfs.c xml.c
Date: Sun, 13 Sep 2020 10:56:25 -0400 (EDT)

CVSROOT:        /sources/hurdextras
Module name:    xmlfs
Changes by:     Samuel Thibault <sthibaul>      20/09/13 10:56:25

Modified files:
        .              : fs.c fsutils.c netfs.c xml.c 

Log message:
        Fix build
        
        Drop duplicate definitions, include assert.h.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/xmlfs/fs.c?cvsroot=hurdextras&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/xmlfs/fsutils.c?cvsroot=hurdextras&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/xmlfs/netfs.c?cvsroot=hurdextras&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/xmlfs/xml.c?cvsroot=hurdextras&r1=1.1&r2=1.2

Patches:
Index: fs.c
===================================================================
RCS file: /sources/hurdextras/xmlfs/fs.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- fs.c        12 Apr 2006 17:00:30 -0000      1.1
+++ fs.c        13 Sep 2020 14:56:25 -0000      1.2
@@ -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)

Index: fsutils.c
===================================================================
RCS file: /sources/hurdextras/xmlfs/fsutils.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- fsutils.c   12 Apr 2006 17:00:30 -0000      1.1
+++ fsutils.c   13 Sep 2020 14:56:25 -0000      1.2
@@ -31,8 +31,7 @@
 #include <unistd.h>
 #include <maptime.h>
 #include <fcntl.h>
-
-FILE *debug;
+#include <assert.h>
 
 /* General info */
 static pid_t pid;

Index: netfs.c
===================================================================
RCS file: /sources/hurdextras/xmlfs/netfs.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- netfs.c     10 Feb 2013 11:14:00 -0000      1.2
+++ netfs.c     13 Sep 2020 14:56:25 -0000      1.3
@@ -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.  */

Index: xml.c
===================================================================
RCS file: /sources/hurdextras/xmlfs/xml.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- xml.c       12 Apr 2006 17:00:30 -0000      1.1
+++ xml.c       13 Sep 2020 14:56:25 -0000      1.2
@@ -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)
 {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]