summaryrefslogtreecommitdiff
path: root/networking/hostname.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-09 14:36:42 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-09 14:36:42 +0000
commiteba8ed71f08f334bc94ac8eeedcd998fcdd05897 (patch)
treec7a2f4adfb3418ff5d970a4f01fe87df38e04dc9 /networking/hostname.c
parent9ba5bce06f71e610db752489b4f97e2af56c2577 (diff)
downloadbusybox-w32-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.tar.gz
busybox-w32-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.tar.bz2
busybox-w32-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.zip
Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanup
warnings with glibc 2.2 and use always use xfopen -Erik
Diffstat (limited to 'networking/hostname.c')
-rw-r--r--networking/hostname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/hostname.c b/networking/hostname.c
index e1486b365..8ea8fe107 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.24 2001/02/14 21:23:06 andersen Exp $ 3 * $Id: hostname.c,v 1.25 2001/03/09 14:36:42 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>
@@ -30,6 +30,7 @@
30#include <unistd.h> 30#include <unistd.h>
31#include <string.h> 31#include <string.h>
32#include <stdio.h> 32#include <stdio.h>
33#include <stdlib.h>
33 34
34void do_sethostname(char *s, int isfile) 35void do_sethostname(char *s, int isfile)
35{ 36{