aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-02-25 05:55:07 +0000
committerTheodore Ts'o <tytso@mit.edu>2013-02-28 20:12:30 -0500
commit5084088215242e5839fa482dd25e06a127aba311 (patch)
tree41b4ad33f033d09085813f9b05de1d4918f70425
parent9e20cf223ad6e44536f7e3116413cc8a445618c7 (diff)
downloade2fsprogs-5084088215242e5839fa482dd25e06a127aba311.tar.gz
e2fsprogs-5084088215242e5839fa482dd25e06a127aba311.tar.xz
e2fsprogs-5084088215242e5839fa482dd25e06a127aba311.zip
libext2fs: Provide prototype for ext2fs_symlink()
New function ext2fs_symlink() doesn't have a prototype in ext2fs.h and thus debugfs compilation gives warning: debugfs.c:2219:2: warning: implicit declaration of function 'ext2fs_symlink' Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--lib/ext2fs/ext2fs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h
index a06f57ee..93c8360c 100644
--- a/lib/ext2fs/ext2fs.h
+++ b/lib/ext2fs/ext2fs.h
@@ -1374,6 +1374,10 @@ errcode_t ext2fs_link(ext2_filsys fs, ext2_ino_t dir, const char *name,
errcode_t ext2fs_unlink(ext2_filsys fs, ext2_ino_t dir, const char *name,
ext2_ino_t ino, int flags);
+/* symlink.c */
+errcode_t ext2fs_symlink(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t ino,
+ const char *name, char *target);
+
/* mmp.c */
errcode_t ext2fs_mmp_read(ext2_filsys fs, blk64_t mmp_blk, void *buf);
errcode_t ext2fs_mmp_write(ext2_filsys fs, blk64_t mmp_blk, void *buf);