From: Jan Kara <jack@suse.cz>
To: Ted Tso <tytso@mit.edu>
Cc: linux-ext4@vger.kernel.org, Jan Kara <jack@suse.cz>
Subject: [PATCH 3/4] libext2fs: Provide prototype for ext2fs_symlink()
Date: Mon, 25 Feb 2013 16:55:07 +0100 [thread overview]
Message-ID: <1361807708-15871-4-git-send-email-jack@suse.cz> (raw)
In-Reply-To: <1361807708-15871-1-git-send-email-jack@suse.cz>
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>
---
lib/ext2fs/ext2fs.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h
index 7139b4d..cd59473 100644
--- a/lib/ext2fs/ext2fs.h
+++ b/lib/ext2fs/ext2fs.h
@@ -1449,6 +1449,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);
--
1.7.1
next prev parent reply other threads:[~2013-02-25 15:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-25 15:55 [PATCH 0/4] Compilation fixes for e2fsprogs Jan Kara
2013-02-25 15:55 ` [PATCH 1/4] e2p: Fix 's' handling in parse_num_blocks2() Jan Kara
2013-03-01 1:13 ` [1/4] " Theodore Ts'o
2013-02-25 15:55 ` [PATCH 2/4] libext2fs: Fix return value in ext2fs_test_block_bitmap_range2() Jan Kara
2013-03-01 1:06 ` [2/4] " Theodore Ts'o
2013-02-25 15:55 ` Jan Kara [this message]
2013-03-01 1:13 ` [3/4] libext2fs: Provide prototype for ext2fs_symlink() Theodore Ts'o
2013-02-25 15:55 ` [PATCH 4/4] resize: bigalloc_check() should have return type void Jan Kara
2013-03-01 1:07 ` [4/4] " Theodore Ts'o
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1361807708-15871-4-git-send-email-jack@suse.cz \
--to=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).