Commit a0feaebe authored by Per Cederqvist's avatar Per Cederqvist

(log_param): Flag unused argument.

(param_name): Now static.
(rcsid): Added a missing const.
parent 70f5578c
/*
* $Id: server-config.c,v 0.45 1998/07/07 12:19:08 ceder Exp $
* $Id: server-config.c,v 0.46 1998/07/08 17:02:21 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -31,7 +31,8 @@
* Compile with -DDEFAULT_PREFIX='"/usr/lyskom"' or something similar.
*/
static char *rcsid = "$Id: server-config.c,v 0.45 1998/07/07 12:19:08 ceder Exp $";
static const char *
rcsid = "$Id: server-config.c,v 0.46 1998/07/08 17:02:21 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -57,6 +58,7 @@ USE(rcsid);
#include "log.h"
#include "manipulate.h"
#include "lyskomd.h"
#include "unused.h"
static Success log_param(const char *val, const struct parameter *par);
......@@ -252,7 +254,7 @@ const int MAX_NO_OF_CONNECTIONS = (OPEN_MAX - PROTECTED_FDS);
const unsigned char *WHITESPACE = (const unsigned char *)" \t\n\r";
static Success
log_param(const char *val, const struct parameter *par)
log_param(const char *val, const struct parameter *UNUSED(par))
{
if (val != NULL)
log ("config: %s\n", val);
......@@ -327,7 +329,7 @@ add_prefix(char **name)
*name = s;
}
const char *
static const char *
param_name(void *value)
{
int ix;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment