]> err.no Git - util-linux/commitdiff
rdev: cleanup includes
authorKarel Zak <kzak@redhat.com>
Wed, 26 Nov 2008 13:40:03 +0000 (14:40 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 26 Nov 2008 13:40:03 +0000 (14:40 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/rdev.c

index 1710a201037f01e129e1a803e0afc7b77131f899..14fac814ca8fae178bd0358d41e2fb20c3452f5e 100644 (file)
@@ -59,6 +59,14 @@ Wed Jun 22 21:12:29 1994: Applied patches from Dave
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <ctype.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <dirent.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+
 #include "nls.h"
 
 /* rdev.c  -  query/set root device. */
@@ -81,16 +89,6 @@ usage(void) {
     exit(-1);
 }
 
-#include <stdio.h>
-#include <string.h>
-#include <ctype.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <dirent.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <sys/types.h>
-#include <sys/stat.h>
 
 #define DEFAULT_OFFSET 508