Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162626726
D56858.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
881 B
Referenced Files
None
Subscribers
None
D56858.diff
View Options
diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h
--- a/sbin/fsck_ffs/fsck.h
+++ b/sbin/fsck_ffs/fsck.h
@@ -62,13 +62,14 @@
#ifndef _FSCK_H_
#define _FSCK_H_
-#include <unistd.h>
-#include <stdlib.h>
+#include <sys/queue.h>
+
+#include <signal.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
#include <libufs.h>
-#include <sys/queue.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 */
diff --git a/sbin/fsck_ffs/gjournal.c b/sbin/fsck_ffs/gjournal.c
--- a/sbin/fsck_ffs/gjournal.c
+++ b/sbin/fsck_ffs/gjournal.c
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 16, 5:46 AM (15 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35125522
Default Alt Text
D56858.diff (881 B)
Attached To
Mode
D56858: fsck_ffs: Avoid relying on param.h pollution from libufs.h
Attached
Detach File
Event Timeline
Log In to Comment