aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-23 13:49:14 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-23 13:49:14 +0000
commit88cb58eb9303e125748892ecc07bcd884fc12048 (patch)
tree806346c72b573fa64f1c381ea49853fcf15a2964 /networking
parent6850d716fd69b620e55ab0e3e571bd42730c1d5a (diff)
downloadbusybox-w32-88cb58eb9303e125748892ecc07bcd884fc12048.tar.gz
busybox-w32-88cb58eb9303e125748892ecc07bcd884fc12048.tar.bz2
busybox-w32-88cb58eb9303e125748892ecc07bcd884fc12048.zip
These were broken when using dmalloc due to include file ordering
problems. busybox.h must be last. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2890 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r--networking/hostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/hostname.c b/networking/hostname.c
index 75e4d2e57..573c8cece 100644
--- a/networking/hostname.c
+++ b/networking/hostname.c
@@ -1,6 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * $Id: hostname.c,v 1.28 2001/05/16 15:40:48 kraai Exp $ 3 * $Id: hostname.c,v 1.29 2001/06/23 13:49:14 andersen Exp $
4 * Mini hostname implementation for busybox 4 * Mini hostname implementation for busybox
5 * 5 *
6 * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> 6 * Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -23,7 +23,6 @@
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 */ 24 */
25 25
26#include "busybox.h"
27#include <errno.h> 26#include <errno.h>
28#include <arpa/inet.h> 27#include <arpa/inet.h>
29#include <netdb.h> 28#include <netdb.h>
@@ -31,6 +30,7 @@
31#include <string.h> 30#include <string.h>
32#include <stdio.h> 31#include <stdio.h>
33#include <stdlib.h> 32#include <stdlib.h>
33#include "busybox.h"
34 34
35static void do_sethostname(char *s, int isfile) 35static void do_sethostname(char *s, int isfile)
36{ 36{