{mount,umount}.nilfs2: remove unnecessary inclusion of sundries.h

The header file "mount.nilfs2.h" includes "sundries.h", but it only
defines a few constants and does not require any symbols from
"sundries.h".

This dependency is unnecessary and hinders the separation of the new
libmount-based implementation from the legacy support code in
"sundries.c".

Removing this include is safe because all source files that rely on
"sundries.h", including both the legacy programs and the libmount-based
helpers, already include it directly.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
This commit is contained in:
Ryusuke Konishi 2026-01-17 14:01:49 +09:00
parent d540681af2
commit 0ad2cc77af

View File

@ -8,7 +8,6 @@
#include <sys/types.h>
#include <signal.h>
#include <stdio.h>
#include "sundries.h"
#define NILFS2_FS_NAME "nilfs2"
#define PPOPT_NAME "pp"