Commit 9cbb0181 authored by Per Cederqvist's avatar Per Cederqvist

(is_supervisor): const qualifiers added to some arguments.

(is_strictly_supervisor): Likewise.
parent ef397067
/*
* $Id: conference.c,v 0.59 1999/07/24 23:33:15 ceder Exp $
* $Id: conference.c,v 0.60 2000/09/02 19:49:13 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -35,7 +35,7 @@
static const char *
rcsid = "$Id: conference.c,v 0.59 1999/07/24 23:33:15 ceder Exp $";
rcsid = "$Id: conference.c,v 0.60 2000/09/02 19:49:13 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -331,7 +331,7 @@ do_create_conf(String name,
Bool
is_supervisor(Conf_no conf,
Pers_no viewer,
Person *viewer_p)
const Person *viewer_p)
{
if (viewer == conf) /* A person is ALWAYS supervisor to */
return TRUE; /* his/her own mailbox! */
......@@ -341,9 +341,9 @@ is_supervisor(Conf_no conf,
Bool
is_strictly_supervisor(Conf_no conf,
Pers_no viewer,
Person * viewer_p) /* May be NULL */
is_strictly_supervisor(Conf_no conf,
Pers_no viewer,
const Person *viewer_p) /* May be NULL */
{
Conf_no supervisor;
......
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