mirror of
https://github.com/nilfs-dev/nilfs-utils.git
synced 2026-01-26 13:43:15 +00:00
nilfs.h: do not include unrelated header files
Sort out dependent header files: include "sys/types.h", and remove references to "stdio.h", "stdlib.h", "unistd.h", "fcntl.h", "time.h", and "sys/ioctl.h". Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
This commit is contained in:
parent
54f4b46e0e
commit
bac41d38ef
@ -12,13 +12,7 @@
|
||||
#ifndef NILFS_H
|
||||
#define NILFS_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include <sys/types.h> /* off_t, size_t */
|
||||
#include "nilfs2_api.h"
|
||||
|
||||
typedef __u64 nilfs_cno_t;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user