mirror of
https://git.FreeBSD.org/src.git
synced 2026-06-02 11:24:32 +00:00
fsck_ffs: Avoid relying on param.h pollution from libufs.h
- gjournal.c needs param.h to get a definition of isclr(). - fsck.h needs signal.h for sig_atomic_t. Sort includes while here. Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D56858
This commit is contained in:
@@ -62,13 +62,14 @@
|
||||
#ifndef _FSCK_H_
|
||||
#define _FSCK_H_
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <libufs.h>
|
||||
|
||||
#include <sys/queue.h>
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <libufs.h>
|
||||
|
||||
#define MAXDUP 10 /* limit on dup blks (per inode) */
|
||||
#define MAXBAD 10 /* limit on bad blks (per inode) */
|
||||
#define MINBUFS 100 /* minimum number of buffers required */
|
||||
|
||||
@@ -53,10 +53,10 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <string.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/stat.h>
|
||||
#include <ufs/ffs/fs.h>
|
||||
#include <string.h>
|
||||
#include "fsck.h"
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user