Commit 0959dbc3 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(cached_lock_person): Marked unused arguments.

(cached_unlock_person): Likewise.
(cached_lock_conf): Likewise.
(cached_unlock_conf): Likewise.
parent bb12c0d6
/*
* $Id: dbck-cache.c,v 0.32 1998/07/26 20:19:19 ceder Exp $
* $Id: dbck-cache.c,v 0.33 1998/08/07 23:07:01 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -33,7 +33,7 @@
*/
static const char *
rcsid = "$Id: dbck-cache.c,v 0.32 1998/07/26 20:19:19 ceder Exp $";
rcsid = "$Id: dbck-cache.c,v 0.33 1998/08/07 23:07:01 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -78,6 +78,7 @@ USE(rcsid);
#include "param.h"
#include "dbck-cache.h"
#include "local-to-global.h"
#include "unused.h"
/*
* All functions that can fail sets kom_errno to a suitable value
......@@ -488,22 +489,22 @@ cached_get_highest_local_no (Conf_no conf_no)
/* Lock a person struct in memory. Increase a referenc count. */
void
cached_lock_person(Pers_no pers_no)
cached_lock_person(Pers_no UNUSED(pers_no))
{}
/* Decrease reference count. If zero, unlock person. */
void
cached_unlock_person(Pers_no pers_no)
cached_unlock_person(Pers_no UNUSED(pers_no))
{}
/* Lock a conf struct in memory. Increase a referenc count. */
void
cached_lock_conf(Conf_no conf_no)
cached_lock_conf(Conf_no UNUSED(conf_no))
{}
/* Decrease reference count. If zero, unlock conf. */
void
cached_unlock_conf(Conf_no conf_no)
cached_unlock_conf(Conf_no UNUSED(conf_no))
{}
......
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