summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2006-09-14 05:27:28 +0000
committerRob Landley2006-09-14 05:27:28 +0000
commitcc9962d7fb3bcd109f02fdaf76028d8e87e11951 (patch)
tree96fef3d10eaed819bbba86b13edb892bc97e1c47
parent73810e8d42de2f891defc867b3557d9a8d6ecefc (diff)
downloadbusybox-cc9962d7fb3bcd109f02fdaf76028d8e87e11951.zip
busybox-cc9962d7fb3bcd109f02fdaf76028d8e87e11951.tar.gz
More code from kernel developers, and therefore licensed under GPLv2 only.
Clarify the license boilerplate. On an unrelated note, this could use busyboxification. check_mount() looks reusable and ask() is generic...
-rw-r--r--util-linux/fsck_minix.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c
index da22744..c0dda2f 100644
--- a/util-linux/fsck_minix.c
+++ b/util-linux/fsck_minix.c
@@ -2,8 +2,9 @@
/*
* fsck.c - a file system consistency checker for Linux.
*
- * (C) 1991, 1992 Linus Torvalds. This file may be redistributed
- * as per the GNU copyleft.
+ * (C) 1991, 1992 Linus Torvalds.
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
/*
@@ -86,17 +87,8 @@
* enforced (but it's not much fun on a character device :-).
*/
-#include <stdio.h>
-#include <errno.h>
-#include <unistd.h>
-#include <string.h>
-#include <fcntl.h>
-#include <ctype.h>
-#include <stdlib.h>
-#include <termios.h>
-#include <mntent.h>
-#include <sys/param.h>
#include "busybox.h"
+#include <mntent.h>
/*
* This is the original minix inode layout on disk.