summaryrefslogtreecommitdiff
path: root/debian/patches/fixes0002-libdiskfs-add-missing-declarations.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fixes0002-libdiskfs-add-missing-declarations.patch')
-rw-r--r--debian/patches/fixes0002-libdiskfs-add-missing-declarations.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/patches/fixes0002-libdiskfs-add-missing-declarations.patch b/debian/patches/fixes0002-libdiskfs-add-missing-declarations.patch
new file mode 100644
index 00000000..0066d112
--- /dev/null
+++ b/debian/patches/fixes0002-libdiskfs-add-missing-declarations.patch
@@ -0,0 +1,33 @@
+From e507800e47973422c080a308955f8d46edc5d706 Mon Sep 17 00:00:00 2001
+From: Justus Winter <4winter@informatik.uni-hamburg.de>
+Date: Sun, 24 May 2015 14:37:20 +0200
+Subject: [PATCH hurd 2/3] libdiskfs: add missing declarations
+
+* libdiskfs/diskfs.h (diskfs_node_disknode): Add missing declaration.
+(diskfs_disknode_node): Likewise.
+---
+ libdiskfs/diskfs.h | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
+index d98de8f..11fb0ad 100644
+--- a/libdiskfs/diskfs.h
++++ b/libdiskfs/diskfs.h
+@@ -732,6 +732,14 @@ struct node *diskfs_make_node_alloc (size_t size);
+ this value for offset calculations. */
+ extern const size_t _diskfs_sizeof_struct_node;
+
++/* Return the address of the disknode for NODE. NODE must have been
++ allocated using diskfs_make_node_alloc. */
++struct disknode *diskfs_node_disknode (struct node *node);
++
++/* Return the address of the node for DISKNODE. DISKNODE must have
++ been allocated using diskfs_make_node_alloc. */
++struct node *diskfs_disknode_node (struct disknode *disknode);
++
+ #if defined(__USE_EXTERN_INLINES) || defined(DISKFS_DEFINE_EXTERN_INLINE)
+
+ /* Return the address of the disknode for NODE. NODE must have been
+--
+2.1.4
+