summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.statd/file.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-07-11 17:55:14 +0000
committeralfred <alfred@FreeBSD.org>2002-07-11 17:55:14 +0000
commit8a8f54cf28fbe1d04aa539e5a46b4cb9d71d6e33 (patch)
tree8b7b167020a1d9ca9fecf54e96a828481485e247 /usr.sbin/rpc.statd/file.c
parent0b74a2da00ab0a50d30ae736a1eb9cb5c5c5eb11 (diff)
downloadFreeBSD-src-8a8f54cf28fbe1d04aa539e5a46b4cb9d71d6e33.zip
FreeBSD-src-8a8f54cf28fbe1d04aa539e5a46b4cb9d71d6e33.tar.gz
make mostly WARNS=4 clean.
constify, mark unsued args, fixup prototypes.
Diffstat (limited to 'usr.sbin/rpc.statd/file.c')
-rw-r--r--usr.sbin/rpc.statd/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpc.statd/file.c b/usr.sbin/rpc.statd/file.c
index 5733ce2..4c17e5d 100644
--- a/usr.sbin/rpc.statd/file.c
+++ b/usr.sbin/rpc.statd/file.c
@@ -137,7 +137,7 @@ HostInfo *find_host(char *hostname, int create)
the state number to the next even value.
*/
-void init_file(char *filename)
+void init_file(const char *filename)
{
int new_file = FALSE;
char buf[HEADER_LEN];
OpenPOWER on IntegriCloud