Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/sysinst Make it proper KNF as it should have b...
details: https://anonhg.NetBSD.org/src/rev/55c98cac19e9
branches: trunk
changeset: 751333:55c98cac19e9
user: ahoka <ahoka%NetBSD.org@localhost>
date: Mon Feb 01 00:39:03 2010 +0000
description:
Make it proper KNF as it should have been done in my previous commit.
diffstat:
distrib/utils/sysinst/net.c | 25 +++++++++++++------------
1 files changed, 13 insertions(+), 12 deletions(-)
diffs (46 lines):
diff -r 6589731c95f1 -r 55c98cac19e9 distrib/utils/sysinst/net.c
--- a/distrib/utils/sysinst/net.c Mon Feb 01 00:06:18 2010 +0000
+++ b/distrib/utils/sysinst/net.c Mon Feb 01 00:39:03 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: net.c,v 1.125 2010/02/01 00:06:18 ahoka Exp $ */
+/* $NetBSD: net.c,v 1.126 2010/02/01 00:39:03 ahoka Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -38,17 +38,6 @@
/* net.c -- routines to fetch files off the network. */
-#include <err.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <curses.h>
-#include <time.h>
-#include <unistd.h>
-#include <arpa/inet.h>
-#include <net/if.h>
-#include <net/if_media.h>
-#include <netinet/in.h>
#include <sys/ioctl.h>
#include <sys/param.h>
#include <sys/resource.h>
@@ -58,6 +47,18 @@
#include <sys/statvfs.h>
#include <sys/sysctl.h>
#include <sys/wait.h>
+#include <arpa/inet.h>
+#include <net/if.h>
+#include <net/if_media.h>
+#include <netinet/in.h>
+
+#include <err.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <curses.h>
+#include <time.h>
+#include <unistd.h>
#include "defs.h"
#include "md.h"
Home |
Main Index |
Thread Index |
Old Index