From 259a98985b4f93347923d1b2c3aaa535397aaa89 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 11 Jun 2020 01:57:26 +0200 Subject: Add flags to functions that might logically be expanded in the future Signed-off-by: David Oberhollenzer --- lib/sqfs/xattr/xattr_writer_record.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/sqfs/xattr/xattr_writer_record.c') diff --git a/lib/sqfs/xattr/xattr_writer_record.c b/lib/sqfs/xattr/xattr_writer_record.c index 7cc55b6..aa87246 100644 --- a/lib/sqfs/xattr/xattr_writer_record.c +++ b/lib/sqfs/xattr/xattr_writer_record.c @@ -37,8 +37,11 @@ static int compare_u64(const void *a, const void *b) return (lhs < rhs ? -1 : (lhs > rhs ? 1 : 0)); } -int sqfs_xattr_writer_begin(sqfs_xattr_writer_t *xwr) +int sqfs_xattr_writer_begin(sqfs_xattr_writer_t *xwr, sqfs_u32 flags) { + if (flags != 0) + return SQFS_ERROR_UNSUPPORTED; + xwr->kv_start = xwr->num_pairs; return 0; } -- cgit v1.2.3