diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-09 21:24:12 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-09 21:24:12 +0000 |
commit | 3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332 (patch) | |
tree | c9e6d3d695cbb2449132428a32fb6c309aad870f /hostname.c | |
parent | dd91724aa089e344d0f05e40a338dcce481c1845 (diff) | |
download | busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.tar.gz busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.tar.bz2 busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hostname.c b/hostname.c index 8ea8fe107..a6e001d54 100644 --- a/hostname.c +++ b/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.25 2001/03/09 14:36:42 andersen Exp $ | 3 | * $Id: hostname.c,v 1.26 2001/03/09 21:24:12 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> |
@@ -32,7 +32,7 @@ | |||
32 | #include <stdio.h> | 32 | #include <stdio.h> |
33 | #include <stdlib.h> | 33 | #include <stdlib.h> |
34 | 34 | ||
35 | void do_sethostname(char *s, int isfile) | 35 | static void do_sethostname(char *s, int isfile) |
36 | { | 36 | { |
37 | FILE *f; | 37 | FILE *f; |
38 | char buf[255]; | 38 | char buf[255]; |