Commit 7adbd1cb authored by Per Cederqvist's avatar Per Cederqvist

(access_perm_helper): const qualifiers added to some arguments.

(access_perm): Likewise.
(locate_membership): Likewise.
parent 8a2e75a7
/*
* $Id: membership.c,v 0.55 1999/07/11 23:41:12 ceder Exp $
* $Id: membership.c,v 0.56 2000/09/02 19:50:33 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -38,7 +38,7 @@
#define DEBUG_MARK_AS_READ
static const char *
rcsid = "$Id: membership.c,v 0.55 1999/07/11 23:41:12 ceder Exp $";
rcsid = "$Id: membership.c,v 0.56 2000/09/02 19:50:33 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -717,9 +717,9 @@ do_sub_member(Conf_no conf_no, /* Conf to delete member from. */
*/
static Access
access_perm_helper(Conf_no victim,
Connection *conn,
Access wanted_access)
access_perm_helper(Conf_no victim,
const Connection *conn,
Access wanted_access)
{
Pers_no viewer;
Person * viewer_p;
......@@ -789,9 +789,9 @@ access_perm_helper(Conf_no victim,
Access
access_perm(Conf_no victim,
Connection *viewer_conn,
Access wanted_access)
access_perm(Conf_no victim,
const Connection *viewer_conn,
Access wanted_access)
{
Access result;
......@@ -850,8 +850,8 @@ locate_member(Pers_no pers_no,
*/
Membership *
locate_membership(Conf_no conf_no,
Person * pers_p)
locate_membership(Conf_no conf_no,
const Person *pers_p)
{
Membership * confp;
int i;
......
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