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:
Ryusuke Konishi 2016-10-08 01:17:48 +09:00
parent 54f4b46e0e
commit bac41d38ef

View File

@ -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;