summaryrefslogtreecommitdiff
path: root/hostname.c
diff options
context:
space:
mode:
authorEric Andersen2001-03-09 21:24:12 +0000
committerEric Andersen2001-03-09 21:24:12 +0000
commit3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332 (patch)
treec9e6d3d695cbb2449132428a32fb6c309aad870f /hostname.c
parentdd91724aa089e344d0f05e40a338dcce481c1845 (diff)
downloadbusybox-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.zip
busybox-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.tar.gz
A cleanup patch from Jeff Garzik to static-ify a number of
namespace polluting things that really should be static.
Diffstat (limited to 'hostname.c')
-rw-r--r--hostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hostname.c b/hostname.c
index 8ea8fe1..a6e001d 100644
--- a/hostname.c
+++ b/hostname.c
@@ -1,6 +1,6 @@
/* vi: set sw=4 ts=4: */
/*
- * $Id: hostname.c,v 1.25 2001/03/09 14:36:42 andersen Exp $
+ * $Id: hostname.c,v 1.26 2001/03/09 21:24:12 andersen Exp $
* Mini hostname implementation for busybox
*
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -32,7 +32,7 @@
#include <stdio.h>
#include <stdlib.h>
-void do_sethostname(char *s, int isfile)
+static void do_sethostname(char *s, int isfile)
{
FILE *f;
char buf[255];