Commit aa3c79db authored by Per Cederqvist's avatar Per Cederqvist

(rcsid): Added a missing const.

(fparse_info_0): Now static.
(fparse_info_2): Likewise.
(fparse_conference_2): Likewise.
(fparse_conference_0): Likewise.
(fparse_person_0): Likewise.
(fparse_person_2): Likewise.
(fparse_text_stat_2): Likewise.
(fparse_text_stat_0): Likewise.
(fparse_conf_list): Changed type of local variable "i" from int to
	unsigned long.
(fparse_text_list): Likewise.
parent bb451e45
/*
* $Id: ram-parse.c,v 0.27 1998/06/14 14:51:15 byers Exp $
* $Id: ram-parse.c,v 0.28 1998/07/08 16:58:30 ceder Exp $
* Copyright (C) 1991, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -29,7 +29,8 @@
* ram-parse.c -- parse objects from disk file.
*/
static char *rcsid = "$Id: ram-parse.c,v 0.27 1998/06/14 14:51:15 byers Exp $";
static const char *
rcsid = "$Id: ram-parse.c,v 0.28 1998/07/08 16:58:30 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -124,7 +125,7 @@ fparse_time(FILE *fp)
return fparse_long(fp);
}
extern Success
static Success
fparse_info_0(FILE *fp, Info *info)
{
info->conf_pres_conf = fparse_long(fp);
......@@ -136,7 +137,7 @@ fparse_info_0(FILE *fp, Info *info)
return OK;
}
extern Success
static Success
fparse_info_2(FILE *fp, Info *info)
{
info->conf_pres_conf = fparse_long(fp);
......@@ -179,7 +180,7 @@ fparse_info(FILE *fp, Info *info)
extern Success
static Success
fparse_conference_2(FILE *fp,
Conference *result)
{
......@@ -267,7 +268,7 @@ fparse_conference_2(FILE *fp,
}
extern Success
static Success
fparse_conference_0(FILE *fp,
Conference *result)
{
......@@ -374,7 +375,7 @@ fparse_conference(FILE *fp,
}
Success
static Success
fparse_person_0(FILE *fp,
Person *person)
{
......@@ -442,7 +443,7 @@ fparse_person_0(FILE *fp,
return OK;
}
Success
static Success
fparse_person_2(FILE *fp,
Person *person)
{
......@@ -949,7 +950,7 @@ extern Success
fparse_conf_list(FILE *fp,
Conf_list_old *result)
{
int i;
unsigned long i;
result->no_of_conf_nos = fparse_long(fp);
if ( result->no_of_conf_nos > 0 )
......@@ -1165,7 +1166,7 @@ fparse_mark_list(FILE *fp,
return OK;
}
extern Success
static Success
fparse_text_stat_2(FILE *fp,
Text_stat *result)
{
......@@ -1305,7 +1306,7 @@ fparse_text_stat_2(FILE *fp,
return OK;
}
extern Success
static Success
fparse_text_stat_0(FILE *fp,
Text_stat *result)
{
......@@ -1469,7 +1470,7 @@ extern Success
fparse_text_list(FILE *fp,
Text_list *result)
{
int i;
unsigned long i;
result->first_local_no = fparse_long(fp);
result->no_of_texts = fparse_long(fp);
......
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