mirror of
https://github.com/nilfs-dev/nilfs-utils.git
synced 2026-01-26 05:37:51 +00:00
{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:
parent
d540681af2
commit
0ad2cc77af
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user