Minor style(9) corrections and whitespace cleanup to csh.
authoranton <anton@openbsd.org>
Wed, 21 Jun 2017 19:36:23 +0000 (19:36 +0000)
committeranton <anton@openbsd.org>
Wed, 21 Jun 2017 19:36:23 +0000 (19:36 +0000)
ok deraadt@ tb@

bin/csh/file.c

index 42b32a3..867dee4 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: file.c,v 1.25 2017/06/21 18:55:15 anton Exp $ */
+/*     $OpenBSD: file.c,v 1.26 2017/06/21 19:36:23 anton Exp $ */
 /*     $NetBSD: file.c,v 1.11 1996/11/08 19:34:37 christos Exp $       */
 
 /*-
  * SUCH DAMAGE.
  */
 
-
-#include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/stat.h>
-#include <termios.h>
+#include <sys/types.h>
+
 #include <dirent.h>
 #include <errno.h>
+#include <limits.h>
 #include <pwd.h>
 #include <stdlib.h>
 #include <string.h>
+#include <termios.h>
 #include <unistd.h>
-#include <limits.h>
-#include <stdarg.h>
 
 #include "csh.h"
 #include "extern.h"
 #define FALSE 0
 #endif
 
-#define ESC    '\033'
-
+#define        ESC             '\033'
 #define        TABWIDTH        8
 
 typedef enum {
-    LIST, RECOGNIZE
-}       COMMAND;
+       LIST,
+       RECOGNIZE
+} COMMAND;
 
 struct cmdline {
        int      fdin;