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

(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. * Copyright (C) 1991-1999 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
static const char * 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" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -331,7 +331,7 @@ do_create_conf(String name, ...@@ -331,7 +331,7 @@ do_create_conf(String name,
Bool Bool
is_supervisor(Conf_no conf, is_supervisor(Conf_no conf,
Pers_no viewer, Pers_no viewer,
Person *viewer_p) const Person *viewer_p)
{ {
if (viewer == conf) /* A person is ALWAYS supervisor to */ if (viewer == conf) /* A person is ALWAYS supervisor to */
return TRUE; /* his/her own mailbox! */ return TRUE; /* his/her own mailbox! */
...@@ -343,7 +343,7 @@ is_supervisor(Conf_no conf, ...@@ -343,7 +343,7 @@ is_supervisor(Conf_no conf,
Bool Bool
is_strictly_supervisor(Conf_no conf, is_strictly_supervisor(Conf_no conf,
Pers_no viewer, Pers_no viewer,
Person * viewer_p) /* May be NULL */ const Person *viewer_p) /* May be NULL */
{ {
Conf_no supervisor; Conf_no supervisor;
......
Supports Markdown
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