Commit 7bdfdd09 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

The text argument to create_text and create_anonymous_text is const.

parent 7f6ded0a
/* /*
* $Id: text.c,v 0.18 1993/01/16 23:18:41 ceder Exp $ * $Id: text.c,v 0.19 1993/08/05 01:00:36 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association. * Copyright (C) 1991 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* All atomic calls that deals with texts. * All atomic calls that deals with texts.
*/ */
static char *rcsid = "$Id: text.c,v 0.18 1993/01/16 23:18:41 ceder Exp $"; static char *rcsid = "$Id: text.c,v 0.19 1993/08/05 01:00:36 ceder Exp $";
#include "rcs.h" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -1755,7 +1755,7 @@ send_async_new_text (Text_no text_no, ...@@ -1755,7 +1755,7 @@ send_async_new_text (Text_no text_no,
* Returns text_no of the created text, or 0 if there was an error. * Returns text_no of the created text, or 0 if there was an error.
*/ */
extern Text_no extern Text_no
create_text(String message, create_text(const String message,
u_short no_of_misc, u_short no_of_misc,
Misc_info * misc ) Misc_info * misc )
{ {
...@@ -1828,7 +1828,7 @@ create_text(String message, ...@@ -1828,7 +1828,7 @@ create_text(String message,
* Returns text_no of the created text, or 0 if there was an error. * Returns text_no of the created text, or 0 if there was an error.
*/ */
extern Text_no extern Text_no
create_anonymous_text(String message, create_anonymous_text(const String message,
u_short no_of_misc, u_short no_of_misc,
Misc_info * misc ) Misc_info * misc )
{ {
......
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