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: 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 d98de8ff..11fb0ad1 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 -- cgit v1.2.3