summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/media.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-01-03 06:32:39 +0000
committerjkh <jkh@FreeBSD.org>1997-01-03 06:32:39 +0000
commitea0a75ee129d9998ed792e26f9256aa68fcf5bea (patch)
tree896ba9fcb9176c55630520639c25dbe04e995774 /usr.sbin/sysinstall/media.c
parentb755851a75932ff275e1d0b9fd2283b881a80139 (diff)
downloadFreeBSD-src-ea0a75ee129d9998ed792e26f9256aa68fcf5bea.zip
FreeBSD-src-ea0a75ee129d9998ed792e26f9256aa68fcf5bea.tar.gz
Do something I've wanted to do for quite some time - collapse all the
common layout code into some work functions and make all the layout-using routine adopt them. Also reorganize includes and generally clean up.
Diffstat (limited to 'usr.sbin/sysinstall/media.c')
-rw-r--r--usr.sbin/sysinstall/media.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/sysinstall/media.c b/usr.sbin/sysinstall/media.c
index 4337d27..dc3ea37 100644
--- a/usr.sbin/sysinstall/media.c
+++ b/usr.sbin/sysinstall/media.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: media.c,v 1.68 1996/12/12 08:36:25 jkh Exp $
+ * $Id: media.c,v 1.69 1996/12/14 23:09:04 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -34,8 +34,7 @@
*
*/
-#include <unistd.h>
-#include <stdio.h>
+#include "sysinstall.h"
#include <netdb.h>
#include <sys/socket.h>
#include <sys/param.h>
@@ -47,8 +46,6 @@
#include <netinet/in.h>
#include <arpa/inet.h>
-#include "sysinstall.h"
-
static int
genericHook(dialogMenuItem *self, DeviceType type)
{
OpenPOWER on IntegriCloud